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 | Field and Description |
---|---|
static Namespace |
Namespace.NO_NAMESPACE
No Namespace present
|
static Namespace |
Namespace.XML_NAMESPACE
XML Namespace
|
Modifier and Type | Method and Description |
---|---|
Namespace |
DocumentFactory.createNamespace(java.lang.String prefix,
java.lang.String uri) |
static Namespace |
DocumentHelper.createNamespace(java.lang.String prefix,
java.lang.String uri) |
static Namespace |
Namespace.get(java.lang.String uri)
A helper method to return the Namespace instance for no prefix and the
URI
|
static Namespace |
Namespace.get(java.lang.String prefix,
java.lang.String uri)
A helper method to return the Namespace instance for the given prefix and
URI
|
Namespace |
QName.getNamespace()
DOCUMENT ME!
|
Namespace |
Attribute.getNamespace()
Returns the
Namespace of this element if one exists
otherwise null is returned returned. |
Namespace |
Element.getNamespace()
Returns the
Namespace of this element if one exists
otherwise Namespace.NO_NAMESPACE is returned. |
Namespace |
Element.getNamespaceForPrefix(java.lang.String prefix)
Returns the
Namespace which is mapped to the given prefix
or null if it could not be found. |
Namespace |
Element.getNamespaceForURI(java.lang.String uri)
Returns the
Namespace which is mapped to the given URI or
null if it could not be found. |
Modifier and Type | Method and Description |
---|---|
void |
Element.add(Namespace namespace)
Adds the given
Namespace to this element. |
QName |
DocumentFactory.createQName(java.lang.String localName,
Namespace namespace) |
static QName |
DocumentHelper.createQName(java.lang.String localName,
Namespace namespace) |
static QName |
QName.get(java.lang.String name,
Namespace namespace) |
static QName |
QName.get(java.lang.String localName,
Namespace namespace,
java.lang.String qualifiedName) |
boolean |
Element.remove(Namespace namespace)
Removes the given
Namespace if the node is an immediate
child of this element. |
void |
Attribute.setNamespace(Namespace namespace)
Sets the
Namespace of this element or if this element is
read only then an UnsupportedOperationException is thrown. |
void |
VisitorSupport.visit(Namespace namespace) |
void |
Visitor.visit(Namespace namespace)
Visits the given
Namespace
|
Constructor and Description |
---|
QName(java.lang.String name,
Namespace namespace) |
QName(java.lang.String name,
Namespace namespace,
java.lang.String qualifiedName) |
Modifier and Type | Method and Description |
---|---|
void |
SchemaParser.build(Document schemaDocument,
Namespace namespace) |
void |
DatatypeDocumentFactory.loadSchema(Document schemaDocument,
Namespace targetNamespace) |
protected void |
DatatypeDocumentFactory.loadSchema(Document document,
java.lang.String schemaInstanceURI,
Namespace namespace) |
Modifier and Type | Method and Description |
---|---|
Namespace |
STAXEventReader.createNamespace(javax.xml.stream.events.Namespace ns)
Constructs a new DOM4J Namespace from the provided StAX Namespace event.
|
protected Namespace |
DOMReader.getNamespace(java.lang.String prefix,
java.lang.String uri) |
Namespace |
STAXEventReader.readNamespace(javax.xml.stream.XMLEventReader reader)
Constructs a DOM4J Namespace from the provided event stream.
|
Modifier and Type | Method and Description |
---|---|
protected org.xml.sax.helpers.AttributesImpl |
SAXWriter.addNamespaceAttribute(org.xml.sax.helpers.AttributesImpl attrs,
Namespace namespace)
If isDelcareNamespaceAttributes() is enabled then this method will add
the given namespace declaration to the supplied attributes object,
creating one if it does not exist.
|
protected java.lang.String |
DOMWriter.attributeNameForNamespace(Namespace namespace) |
javax.xml.stream.events.Namespace |
STAXEventWriter.createNamespace(Namespace ns)
Constructs a STAX
Namespace event from a
DOM4J Namespace . |
protected boolean |
SAXWriter.isIgnoreableNamespace(Namespace namespace,
org.dom4j.tree.NamespaceStack namespaceStack)
DOCUMENT ME!
|
protected boolean |
DOMWriter.isNamespaceDeclaration(Namespace ns) |
protected boolean |
XMLWriter.isNamespaceDeclaration(Namespace ns) |
void |
XMLWriter.write(Namespace namespace)
Writes the given
Namespace . |
protected void |
DOMWriter.writeNamespace(org.w3c.dom.Element domElement,
Namespace namespace) |
void |
STAXEventWriter.writeNamespace(Namespace ns)
Writes a DOM4J
Namespace to the stream. |
protected void |
XMLWriter.writeNamespace(Namespace namespace) |
Modifier and Type | Method and Description |
---|---|
Namespace |
ProxyDocumentFactory.createNamespace(java.lang.String prefix,
java.lang.String uri) |
Modifier and Type | Method and Description |
---|---|
int |
NodeComparator.compare(Namespace n1,
Namespace n2) |
QName |
ProxyDocumentFactory.createQName(java.lang.String localName,
Namespace namespace) |
Constructor and Description |
---|
NonLazyElement(java.lang.String name,
Namespace namespace) |
Copyright © 2005 MetaStuff Ltd. All Rights Reserved. Hosted by