org.jboss.xml
Class QNameBuilder

java.lang.Object
  extended byorg.jboss.xml.QNameBuilder

public final class QNameBuilder
extends java.lang.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


Constructor Summary
QNameBuilder()
           
 
Method Summary
static QName (src) buildQName(org.w3c.dom.Element element, java.lang.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 QName (src)  buildQName(org.w3c.dom.Element element,
                               java.lang.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