org.jboss.xb
Class QNameBuilder

java.lang.Object
  extended by org.jboss.xb.QNameBuilder

public final class QNameBuilder
extends Object

A QName builder that discovers the namespaceURI for a given prefix by walking up the document tree. The combined name is of the form [prefix:]localPart

Version:
$Revision: 1.1.2.3 $
Author:
Thomas.Diesler@jboss.org

Constructor Summary
QNameBuilder()
           
 
Method Summary
static javax.xml.namespace.QName buildQName(Element element, String combinedName)
          Build a QName from a combined name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QNameBuilder

public QNameBuilder()
Method Detail

buildQName

public static javax.xml.namespace.QName buildQName(Element element,
                                                   String combinedName)
Build a QName from a combined name

Parameters:
element - The current element
combinedName - A name of form prefix:localPart
Returns:
A QName, or null


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.