Package | Description |
---|---|
org.dom4j |
Defines the XML Document Object Model in Java interfaces together
with some helper classes.
|
org.dom4j.datatype |
An implementation of the dom4j API which supports the
XML Schema Data Types specification.
|
org.dom4j.io |
Provides input and output via SAX and DOM together with writing dom4j
objects to streams as XML text.
|
org.dom4j.util |
A collection of utility classes for the dom4j API.
|
Modifier and Type | Method and Description |
---|---|
static QName |
DocumentHelper.createQName(java.lang.String localName) |
QName |
DocumentFactory.createQName(java.lang.String localName) |
static QName |
DocumentHelper.createQName(java.lang.String localName,
Namespace namespace) |
QName |
DocumentFactory.createQName(java.lang.String localName,
Namespace namespace) |
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) |
static QName |
QName.get(java.lang.String name) |
static QName |
QName.get(java.lang.String name,
Namespace namespace) |
static QName |
QName.get(java.lang.String localName,
Namespace namespace,
java.lang.String qualifiedName) |
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) |
QName |
Attribute.getQName()
Returns the
QName of this attribute which represents the
local name, the qualified name and the Namespace . |
QName |
Element.getQName()
Returns the
QName of this element which represents the
local name, the qualified name and the Namespace . |
QName |
Element.getQName(java.lang.String qualifiedName)
Returns the
QName 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!
|
Modifier and Type | Method and 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 new
Element node with the given QName 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.
|
static Attribute |
DocumentHelper.createAttribute(Element owner,
QName qname,
java.lang.String value) |
Attribute |
DocumentFactory.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.
|
static Element |
DocumentHelper.createElement(QName qname) |
Element |
DocumentFactory.createElement(QName qname) |
Element |
Element.element(QName qName)
Returns the first element for the given fully qualified name.
|
java.util.Iterator |
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.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. Please use
Element.addAttribute(QName,String) instead. WILL BE REMOVED IN
dom4j-1.6 !! |
void |
Element.setQName(QName qname)
Sets the
QName of this element which represents the local
name, the qualified name and the Namespace . |
Modifier and Type | Method and Description |
---|---|
QName |
DatatypeElementFactory.getQName()
DOCUMENT ME!
|
QName |
DatatypeAttribute.getQName() |
Modifier and Type | Method and Description |
---|---|
Attribute |
DatatypeElementFactory.createAttribute(Element owner,
QName qname,
java.lang.String value) |
Attribute |
DatatypeDocumentFactory.createAttribute(Element owner,
QName qname,
java.lang.String value) |
Element |
DatatypeElementFactory.createElement(QName qname) |
XSDatatype |
DatatypeElementFactory.getAttributeXSDatatype(QName attributeQName)
DOCUMENT ME!
|
XSDatatype |
DatatypeElementFactory.getChildElementXSDatatype(QName qname)
DOCUMENT ME!
|
DatatypeElementFactory |
DatatypeDocumentFactory.getElementFactory(QName elementQName)
Registers the given
DatatypeElementFactory for the given
<element> schema element |
void |
DatatypeElementFactory.setAttributeXSDatatype(QName attributeQName,
XSDatatype type)
Registers the given
XSDatatype for the given
<attribute> QNames |
void |
DatatypeElementFactory.setChildElementXSDatatype(QName qname,
XSDatatype dataType) |
Constructor and Description |
---|
DatatypeAttribute(QName qname,
XSDatatype datatype) |
DatatypeAttribute(QName qname,
XSDatatype datatype,
java.lang.String text) |
DatatypeElement(QName qname,
int attributeCount,
XSDatatype type) |
DatatypeElement(QName qname,
XSDatatype datatype) |
DatatypeElementFactory(QName elementQName) |
Modifier and Type | Method and Description |
---|---|
QName |
STAXEventReader.createQName(javax.xml.namespace.QName qname)
Constructs a new DOM4J QName from the provided JAXP QName.
|
Modifier and Type | Method and Description |
---|---|
javax.xml.namespace.QName |
STAXEventWriter.createQName(QName qname)
Constructs a STAX
QName from a DOM4J QName . |
Modifier and Type | Field and Description |
---|---|
protected static QName |
XMLErrorHandler.ERROR_QNAME |
protected static QName |
XMLErrorHandler.FATALERROR_QNAME |
protected static QName |
XMLErrorHandler.WARNING_QNAME |
Modifier and Type | Method and Description |
---|---|
QName |
ProxyDocumentFactory.createQName(java.lang.String localName) |
QName |
ProxyDocumentFactory.createQName(java.lang.String localName,
Namespace namespace) |
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 |
XMLErrorHandler.getErrorQName() |
QName |
XMLErrorHandler.getFatalErrorQName() |
QName |
XMLErrorHandler.getWarningQName() |
Modifier and Type | Method and 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 |
NonLazyDocumentFactory.createElement(QName qname) |
Element |
ProxyDocumentFactory.createElement(QName qname) |
Element |
IndexedDocumentFactory.createElement(QName qname) |
protected Element |
UserDataElement.createElement(QName qName) |
Element |
UserDataDocumentFactory.createElement(QName qname) |
Element |
IndexedDocumentFactory.createElement(QName qname,
int attributeCount) |
Element |
IndexedElement.element(QName qName) |
java.util.List |
IndexedElement.elements(QName qName) |
void |
XMLErrorHandler.setErrorQName(QName errorQName) |
void |
XMLErrorHandler.setFatalErrorQName(QName fatalErrorQName) |
void |
XMLErrorHandler.setWarningQName(QName warningQName) |
Constructor and 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) |
Copyright ? 2005 MetaStuff Ltd. All Rights Reserved. Hosted by