Uses of Class
org.dom4j.QName
-
Packages that use QName Package Description org.dom4j Defines the XML Document Object Model in Java interfaces together with some helper classes.org.dom4j.bean An implementation of the dom4j API which allows JavaBeans to be used to store and retrieve attribute values from Element.org.dom4j.datatype An implementation of the dom4j API which supports the XML Schema Data Types specification.org.dom4j.dom An implementation of the dom4j API which also supports the W3C object model.org.dom4j.io Provides input and output via SAX and DOM together with writing dom4j objects to streams as XML text.org.dom4j.tree Contains the default implementations of the dom4j Document Object Model together with some helpful base classes for those wishing to implement their own document object model.org.dom4j.util A collection of utility classes for the dom4j API. -
-
Uses of QName in org.dom4j
Methods in org.dom4j that return QName Modifier and Type Method Description QName
DocumentFactory. createQName(java.lang.String localName)
QName
DocumentFactory. createQName(java.lang.String qualifiedName, java.lang.String uri)
QName
DocumentFactory. createQName(java.lang.String name, java.lang.String prefix, java.lang.String uri)
QName
DocumentFactory. createQName(java.lang.String localName, Namespace namespace)
static QName
DocumentHelper. createQName(java.lang.String localName)
static QName
DocumentHelper. createQName(java.lang.String localName, Namespace namespace)
static QName
QName. get(java.lang.String name)
static QName
QName. get(java.lang.String qualifiedName, java.lang.String uri)
static QName
QName. get(java.lang.String name, java.lang.String prefix, java.lang.String uri)
static QName
QName. get(java.lang.String name, Namespace namespace)
static QName
QName. get(java.lang.String localName, Namespace namespace, java.lang.String qualifiedName)
QName
Attribute. getQName()
Returns theQName
of this attribute which represents the local name, the qualified name and theNamespace
.QName
Element. getQName()
Returns theQName
of this element which represents the local name, the qualified name and theNamespace
.QName
Element. getQName(java.lang.String qualifiedName)
Returns theQName
for the given qualified name, using the namespace URI in scope for the given prefix of the qualified name or the default namespace if the qualified name has no prefix.protected QName
DocumentFactory. intern(QName qname)
DOCUMENT ME!Methods in org.dom4j that return types with arguments of type QName Modifier and Type Method Description java.util.List<QName>
DocumentFactory. getQNames()
Returns a list of all the QName instances currently used by this document factoryMethods in org.dom4j with parameters of type QName Modifier and Type Method Description Element
Element. addAttribute(QName qName, java.lang.String value)
Adds the attribute value of the given fully qualified name.Element
Branch. addElement(QName qname)
Adds a newElement
node with the givenQName
to this branch and returns a reference to the new node.Attribute
Element. attribute(QName qName)
DOCUMENT ME!java.lang.String
Element. attributeValue(QName qName)
This returns the attribute value for the attribute with the given fully qualified name or null if there is no such attribute or the empty string if the attribute value is empty.java.lang.String
Element. attributeValue(QName qName, java.lang.String defaultValue)
This returns the attribute value for the attribute with the given fully qualified name or the default value if there is no such attribute value.Attribute
DocumentFactory. createAttribute(Element owner, QName qname, java.lang.String value)
static Attribute
DocumentHelper. createAttribute(Element owner, QName qname, java.lang.String value)
Element
Element. createCopy(QName qName)
Creates a deep copy of this element with the given fully qualified name.Element
DocumentFactory. createElement(QName qname)
static Element
DocumentHelper. createElement(QName qname)
Element
Element. element(QName qName)
Returns the first element for the given fully qualified name.java.util.Iterator<Element>
Element. elementIterator(QName qName)
Returns an iterator over the elements contained in this element which match the given fully qualified name.java.util.List<Element>
Element. elements(QName qName)
Returns the elements contained in this element with the given fully qualified name.java.lang.String
Element. elementText(QName qname)
java.lang.String
Element. elementTextTrim(QName qname)
protected QName
DocumentFactory. intern(QName qname)
DOCUMENT ME!void
Element. setAttributeValue(QName qName, java.lang.String value)
Deprecated.As of version 0.5.void
Element. setQName(QName qname)
Sets theQName
of this element which represents the local name, the qualified name and theNamespace
. -
Uses of QName in org.dom4j.bean
Fields in org.dom4j.bean declared as QName Modifier and Type Field Description private QName[]
BeanMetaData. qNames
QNames for the attributesMethods in org.dom4j.bean that return QName Modifier and Type Method Description QName
BeanAttribute. getQName()
QName
BeanAttributeList. getQName(int index)
QName
BeanMetaData. getQName(int index)
Methods in org.dom4j.bean with parameters of type QName Modifier and Type Method Description Element
BeanElement. addAttribute(QName qName, java.lang.String value)
BeanAttribute
BeanAttributeList. attribute(QName qname)
BeanAttribute
BeanElement. attribute(QName qname)
Attribute
BeanDocumentFactory. createAttribute(Element owner, QName qname, java.lang.String value)
protected java.lang.Object
BeanDocumentFactory. createBean(QName qname)
protected java.lang.Object
BeanDocumentFactory. createBean(QName qname, org.xml.sax.Attributes attributes)
Element
BeanDocumentFactory. createElement(QName qname)
Element
BeanDocumentFactory. createElement(QName qname, org.xml.sax.Attributes attributes)
int
BeanMetaData. getIndex(QName qName)
Constructors in org.dom4j.bean with parameters of type QName Constructor Description BeanElement(QName qname)
BeanElement(QName qname, java.lang.Object bean)
-
Uses of QName in org.dom4j.datatype
Fields in org.dom4j.datatype declared as QName Modifier and Type Field Description private QName
DatatypeElementFactory. elementQName
private QName
DatatypeAttribute. qname
TheQName
for this elementprivate static QName
SchemaParser. XSD_ALL
private static QName
SchemaParser. XSD_ATTRIBUTE
private static QName
SchemaParser. XSD_CHOICE
private static QName
SchemaParser. XSD_COMPLEXTYPE
private static QName
SchemaParser. XSD_ELEMENT
private static QName
SchemaParser. XSD_INCLUDE
private static QName
SchemaParser. XSD_RESTRICTION
private static QName
SchemaParser. XSD_SEQUENCE
private static QName
SchemaParser. XSD_SIMPLETYPE
private static QName
DatatypeDocumentFactory. XSI_NO_SCHEMA_LOCATION
private static QName
DatatypeDocumentFactory. XSI_SCHEMA_LOCATION
Fields in org.dom4j.datatype with type parameters of type QName Modifier and Type Field Description private java.util.Map<QName,com.sun.msv.datatype.xsd.XSDatatype>
DatatypeElementFactory. attributeXSDatatypes
Cache ofXSDatatype
instances per AttributeQName
private java.util.Map<QName,com.sun.msv.datatype.xsd.XSDatatype>
DatatypeElementFactory. childrenXSDatatypes
Cache ofXSDatatype
instances per child ElementQName
protected java.util.Map<QName,DocumentFactory>
NamedTypeResolver. complexTypeMap
protected java.util.Map<QName,com.sun.msv.datatype.xsd.XSDatatype>
NamedTypeResolver. simpleTypeMap
protected java.util.Map<Element,QName>
NamedTypeResolver. typedElementMap
Methods in org.dom4j.datatype that return QName Modifier and Type Method Description QName
DatatypeAttribute. getQName()
QName
DatatypeElementFactory. getQName()
DOCUMENT ME!private QName
NamedTypeResolver. getQName(java.lang.String name)
private QName
SchemaParser. getQName(java.lang.String name)
private QName
NamedTypeResolver. getQNameOfSchemaElement(Element element)
Methods in org.dom4j.datatype with parameters of type QName Modifier and Type Method Description Attribute
DatatypeDocumentFactory. createAttribute(Element owner, QName qname, java.lang.String value)
Attribute
DatatypeElementFactory. createAttribute(Element owner, QName qname, java.lang.String value)
Element
DatatypeElementFactory. createElement(QName qname)
com.sun.msv.datatype.xsd.XSDatatype
DatatypeElementFactory. getAttributeXSDatatype(QName attributeQName)
DOCUMENT ME!com.sun.msv.datatype.xsd.XSDatatype
DatatypeElementFactory. getChildElementXSDatatype(QName qname)
DOCUMENT ME!private DatatypeElementFactory
SchemaParser. getDatatypeElementFactory(QName name)
DOCUMENT ME!DatatypeElementFactory
DatatypeDocumentFactory. getElementFactory(QName elementQName)
Registers the givenDatatypeElementFactory
for the given <element> schema element(package private) void
NamedTypeResolver. registerComplexType(QName type, DocumentFactory factory)
(package private) void
NamedTypeResolver. registerSimpleType(QName type, com.sun.msv.datatype.xsd.XSDatatype datatype)
(package private) void
NamedTypeResolver. registerTypedElement(Element element, QName type, DocumentFactory parentFactory)
void
DatatypeElementFactory. setAttributeXSDatatype(QName attributeQName, com.sun.msv.datatype.xsd.XSDatatype type)
Registers the givenXSDatatype
for the given <attribute> QNamesvoid
DatatypeElementFactory. setChildElementXSDatatype(QName qname, com.sun.msv.datatype.xsd.XSDatatype dataType)
Constructors in org.dom4j.datatype with parameters of type QName Constructor Description DatatypeAttribute(QName qname, com.sun.msv.datatype.xsd.XSDatatype datatype)
DatatypeAttribute(QName qname, com.sun.msv.datatype.xsd.XSDatatype datatype, java.lang.String text)
DatatypeElement(QName qname, int attributeCount, com.sun.msv.datatype.xsd.XSDatatype type)
DatatypeElement(QName qname, com.sun.msv.datatype.xsd.XSDatatype datatype)
DatatypeElementFactory(QName elementQName)
-
Uses of QName in org.dom4j.dom
Methods in org.dom4j.dom that return QName Modifier and Type Method Description protected QName
DOMElement. getQName(java.lang.String namespace, java.lang.String qualifiedName)
Methods in org.dom4j.dom with parameters of type QName Modifier and Type Method Description Attribute
DOMDocumentFactory. createAttribute(Element owner, QName qname, java.lang.String value)
Element
DOMDocumentFactory. createElement(QName qname)
Element
DOMDocumentFactory. createElement(QName qname, int attributeCount)
Constructors in org.dom4j.dom with parameters of type QName Constructor Description DOMAttribute(Element parent, QName qname, java.lang.String value)
DOMAttribute(QName qname)
DOMAttribute(QName qname, java.lang.String value)
DOMElement(QName qname)
DOMElement(QName qname, int attributeCount)
-
Uses of QName in org.dom4j.io
Fields in org.dom4j.io with type parameters of type QName Modifier and Type Field Description private java.util.Map<QName,java.util.List<java.lang.String>>
SAXEventRecorder. prefixMappings
Methods in org.dom4j.io that return QName Modifier and Type Method Description QName
STAXEventReader. createQName(javax.xml.namespace.QName qname)
Constructs a new DOM4J QName from the provided JAXP QName.Methods in org.dom4j.io with parameters of type QName Modifier and Type Method Description javax.xml.namespace.QName
STAXEventWriter. createQName(QName qname)
Constructs a STAXQName
from a DOM4JQName
. -
Uses of QName in org.dom4j.tree
Fields in org.dom4j.tree declared as QName Modifier and Type Field Description private QName
BaseElement. qname
TheQName
for this elementprivate QName
DefaultElement. qname
TheQName
for this elementprivate QName
FlyweightAttribute. qname
TheQName
for this elementprivate QName
ElementQNameIterator. qName
Deprecated.Fields in org.dom4j.tree with type parameters of type QName Modifier and Type Field Description private java.util.Map<java.lang.String,QName>
NamespaceStack. currentNamespaceCache
A cache of current namespace context cache of mapping from qualifiedName to QNameprotected java.util.Map<Namespace,java.util.Map<java.lang.String,QName>>
QNameCache. namespaceCache
Cache ofMap
instances indexed by namespace which contain caches ofQName
for each nameprivate java.util.ArrayList<java.util.Map<java.lang.String,QName>>
NamespaceStack. namespaceCacheList
The cache of qualifiedNames to QNames per namespace contextprotected java.util.Map<java.lang.String,QName>
QNameCache. noNamespaceCache
Cache ofQName
instances with no namespaceprivate java.util.Map<java.lang.String,QName>
NamespaceStack. rootNamespaceCache
A cache of mapping from qualifiedName to QName before any namespaces are declaredMethods in org.dom4j.tree that return QName Modifier and Type Method Description protected QName
NamespaceStack. createQName(java.lang.String localName, java.lang.String qualifiedName, Namespace namespace)
Factory method to creeate new QName instances.protected QName
QNameCache. createQName(java.lang.String name)
Factory method to create a new QName object which can be overloaded to create derived QName instancesprotected QName
QNameCache. createQName(java.lang.String name, Namespace namespace)
Factory method to create a new QName object which can be overloaded to create derived QName instancesprotected QName
QNameCache. createQName(java.lang.String name, Namespace namespace, java.lang.String qualifiedName)
Factory method to create a new QName object which can be overloaded to create derived QName instancesQName
QNameCache. get(java.lang.String name)
DOCUMENT ME!QName
QNameCache. get(java.lang.String qualifiedName, java.lang.String uri)
QName
QNameCache. get(java.lang.String name, Namespace namespace)
DOCUMENT ME!QName
QNameCache. get(java.lang.String localName, Namespace namespace, java.lang.String qName)
DOCUMENT ME!QName
NamespaceStack. getAttributeQName(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qualifiedName)
QName
AbstractElement. getQName(java.lang.String qualifiedName)
QName
BaseElement. getQName()
QName
DefaultElement. getQName()
QName
FlyweightAttribute. getQName()
QName
NamespaceStack. getQName(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qualifiedName)
QName
QNameCache. intern(QName qname)
DOCUMENT ME!protected QName
NamespaceStack. pushQName(java.lang.String localName, java.lang.String qualifiedName, Namespace namespace, java.lang.String prefix)
Adds the QName to the stack of available QNamesMethods in org.dom4j.tree that return types with arguments of type QName Modifier and Type Method Description protected java.util.Map<java.lang.String,QName>
QNameCache. createMap()
A factory methodprotected java.util.Map<java.lang.String,QName>
NamespaceStack. getNamespaceCache()
protected java.util.Map<java.lang.String,QName>
QNameCache. getNamespaceCache(Namespace namespace)
DOCUMENT ME!java.util.List<QName>
QNameCache. getQNames()
Returns a list of all the QName instances currently usedMethods in org.dom4j.tree with parameters of type QName Modifier and Type Method Description Element
AbstractElement. addAttribute(QName qName, java.lang.String value)
Element
AbstractBranch. addElement(QName qname)
Element
AbstractDocument. addElement(QName qName)
Attribute
AbstractElement. attribute(QName qName)
Attribute
DefaultElement. attribute(QName qName)
java.lang.String
AbstractElement. attributeValue(QName qName)
java.lang.String
AbstractElement. attributeValue(QName qName, java.lang.String defaultValue)
Element
AbstractElement. createCopy(QName qName)
protected Element
AbstractElement. createElement(QName qName)
Element
AbstractElement. element(QName qName)
Element
DefaultElement. element(QName qName)
java.util.Iterator<Element>
AbstractElement. elementIterator(QName qName)
java.util.List<Element>
AbstractElement. elements(QName qName)
java.lang.String
AbstractElement. elementText(QName qName)
java.lang.String
AbstractElement. elementTextTrim(QName qName)
QName
QNameCache. intern(QName qname)
DOCUMENT ME!void
AbstractElement. setAttributeValue(QName qName, java.lang.String value)
Deprecated.As of version 0.5.void
BaseElement. setQName(QName name)
void
DefaultElement. setQName(QName name)
Constructors in org.dom4j.tree with parameters of type QName Constructor Description BaseElement(QName qname)
DefaultAttribute(Element parent, QName qname, java.lang.String value)
DefaultAttribute(QName qname)
DefaultAttribute(QName qname, java.lang.String value)
DefaultElement(QName qname)
DefaultElement(QName qname, int attributeCount)
ElementQNameIterator(java.util.Iterator<Node> proxy, QName qName)
Deprecated.FlyweightAttribute(QName qname)
FlyweightAttribute(QName qname, java.lang.String value)
-
Uses of QName in org.dom4j.util
Fields in org.dom4j.util declared as QName Modifier and Type Field Description protected static QName
XMLErrorHandler. ERROR_QNAME
private QName
XMLErrorHandler. errorQName
QName used for error elementsprotected static QName
XMLErrorHandler. FATALERROR_QNAME
private QName
XMLErrorHandler. fatalErrorQName
QName used for fatalerror elementsprotected static QName
XMLErrorHandler. WARNING_QNAME
private QName
XMLErrorHandler. warningQName
QName used for warning elementsMethods in org.dom4j.util that return QName Modifier and Type Method Description QName
ProxyDocumentFactory. createQName(java.lang.String localName)
QName
ProxyDocumentFactory. createQName(java.lang.String qualifiedName, java.lang.String uri)
QName
ProxyDocumentFactory. createQName(java.lang.String name, java.lang.String prefix, java.lang.String uri)
QName
ProxyDocumentFactory. createQName(java.lang.String localName, Namespace namespace)
QName
XMLErrorHandler. getErrorQName()
QName
XMLErrorHandler. getFatalErrorQName()
QName
XMLErrorHandler. getWarningQName()
Methods in org.dom4j.util with parameters of type QName Modifier and Type Method Description Attribute
IndexedElement. attribute(QName qName)
static boolean
AttributeHelper. booleanValue(Element element, QName attributeQName)
int
NodeComparator. compare(QName n1, QName n2)
Attribute
ProxyDocumentFactory. createAttribute(Element owner, QName qname, java.lang.String value)
Attribute
UserDataDocumentFactory. createAttribute(Element owner, QName qname, java.lang.String value)
Element
IndexedDocumentFactory. createElement(QName qname)
Element
IndexedDocumentFactory. createElement(QName qname, int attributeCount)
Element
NonLazyDocumentFactory. createElement(QName qname)
Element
ProxyDocumentFactory. createElement(QName qname)
Element
UserDataDocumentFactory. createElement(QName qname)
protected Element
UserDataElement. createElement(QName qName)
Element
IndexedElement. element(QName qName)
java.util.List<Element>
IndexedElement. elements(QName qName)
void
XMLErrorHandler. setErrorQName(QName errorQName)
void
XMLErrorHandler. setFatalErrorQName(QName fatalErrorQName)
void
XMLErrorHandler. setWarningQName(QName warningQName)
Constructors in org.dom4j.util with parameters of type QName Constructor Description IndexedElement(QName qname)
IndexedElement(QName qname, int attributeCount)
NonLazyElement(QName qname)
NonLazyElement(QName qname, int attributeCount)
UserDataAttribute(QName qname)
UserDataAttribute(QName qname, java.lang.String text)
UserDataElement(QName qname)
-