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.
|
org.hibernate.proxy.dom4j | |
org.hibernate.tuple |
This package defines a runtime metamodel for entities at
the object level and abstracts the differences between
the various entity modes.
|
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 |
---|---|
static Namespace |
DocumentHelper.createNamespace(String prefix,
String uri) |
Namespace |
DocumentFactory.createNamespace(String prefix,
String uri) |
static Namespace |
Namespace.get(String uri)
A helper method to return the Namespace instance for no prefix and the
URI
|
static Namespace |
Namespace.get(String prefix,
String uri)
A helper method to return the Namespace instance for the given prefix and
URI
|
Namespace |
QName.getNamespace()
DOCUMENT ME!
|
Namespace |
Element.getNamespace()
Returns the
Namespace of this element if one exists
otherwise Namespace.NO_NAMESPACE is returned. |
Namespace |
Attribute.getNamespace()
Returns the
Namespace of this element if one exists
otherwise null is returned returned. |
Namespace |
Element.getNamespaceForPrefix(String prefix)
Returns the
Namespace which is mapped to the given prefix
or null if it could not be found. |
Namespace |
Element.getNamespaceForURI(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. |
static QName |
DocumentHelper.createQName(String localName,
Namespace namespace) |
QName |
DocumentFactory.createQName(String localName,
Namespace namespace) |
static QName |
QName.get(String name,
Namespace namespace) |
static QName |
QName.get(String localName,
Namespace namespace,
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(String name,
Namespace namespace) |
QName(String name,
Namespace namespace,
String qualifiedName) |
Constructor and Description |
---|
BeanElement(String name,
Namespace namespace,
Object bean) |
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,
String schemaInstanceURI,
Namespace namespace) |
Modifier and Type | Class and Description |
---|---|
class |
DOMNamespace
DOMNamespace implements a Namespace that is compatable with
the DOM API. |
Modifier and Type | Method and Description |
---|---|
Namespace |
DOMDocumentFactory.createNamespace(String prefix,
String uri) |
Constructor and Description |
---|
DOMElement(String name,
Namespace namespace) |
Modifier and Type | Method and Description |
---|---|
Namespace |
STAXEventReader.createNamespace(Namespace ns)
Constructs a new DOM4J Namespace from the provided StAX Namespace event.
|
protected Namespace |
DOMReader.getNamespace(String prefix,
String uri) |
Namespace |
STAXEventReader.readNamespace(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 String |
DOMWriter.attributeNameForNamespace(Namespace namespace) |
Namespace |
STAXEventWriter.createNamespace(Namespace ns)
|
protected boolean |
SAXWriter.isIgnoreableNamespace(Namespace namespace,
NamespaceStack namespaceStack)
DOCUMENT ME!
|
protected boolean |
XMLWriter.isNamespaceDeclaration(Namespace ns) |
protected boolean |
DOMWriter.isNamespaceDeclaration(Namespace ns) |
void |
XMLWriter.write(Namespace namespace)
Writes the given
Namespace . |
protected void |
DOMWriter.writeNamespace(Element domElement,
Namespace namespace) |
protected void |
XMLWriter.writeNamespace(Namespace namespace) |
void |
STAXEventWriter.writeNamespace(Namespace ns)
Writes a DOM4J
Namespace to the stream. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultNamespace
DefaultNamespace implements a doubly linked node which
supports the parent relationship and is mutable. |
Modifier and Type | Method and Description |
---|---|
Namespace |
NamespaceStack.addNamespace(String prefix,
String uri)
Adds a new namespace to the stack
|
protected Namespace |
NamespaceStack.createNamespace(String prefix,
String namespaceURI)
Factory method to creeate new Namespace instances.
|
protected Namespace |
NamespaceCache.createNamespace(String prefix,
String uri)
A factory method to create
Namespace instance |
protected Namespace |
NamespaceStack.findDefaultNamespace()
Attempts to find the current default namespace on the stack right now or
returns null if one could not be found
|
Namespace |
NamespaceCache.get(String uri)
DOCUMENT ME!
|
Namespace |
NamespaceCache.get(String prefix,
String uri)
DOCUMENT ME!
|
Namespace |
NamespaceStack.getDefaultNamespace() |
Namespace |
AbstractElement.getNamespace() |
Namespace |
AbstractAttribute.getNamespace() |
Namespace |
NamespaceStack.getNamespace(int index)
DOCUMENT ME!
|
Namespace |
NamespaceStack.getNamespaceForPrefix(String prefix)
DOCUMENT ME!
|
Namespace |
DefaultElement.getNamespaceForPrefix(String prefix) |
Namespace |
AbstractElement.getNamespaceForPrefix(String prefix) |
Namespace |
DefaultElement.getNamespaceForURI(String uri) |
Namespace |
AbstractElement.getNamespaceForURI(String uri) |
Namespace |
NamespaceStack.pop()
Pops the most recently used
Namespace from the stack |
Namespace |
NamespaceStack.pop(String prefix)
Pops a namepace from the stack with the given prefix and URI
|
protected Namespace |
NamespaceStack.remove(int index)
Removes the namespace at the given index of the stack
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractElement.add(Namespace namespace) |
Attribute |
DefaultElement.attribute(String name,
Namespace namespace) |
Attribute |
AbstractElement.attribute(String name,
Namespace namespace) |
boolean |
NamespaceStack.contains(Namespace namespace)
DOCUMENT ME!
|
protected QName |
QNameCache.createQName(String name,
Namespace namespace)
Factory method to create a new QName object which can be overloaded to
create derived QName instances
|
protected QName |
QNameCache.createQName(String name,
Namespace namespace,
String qualifiedName)
Factory method to create a new QName object which can be overloaded to
create derived QName instances
|
protected QName |
NamespaceStack.createQName(String localName,
String qualifiedName,
Namespace namespace)
Factory method to creeate new QName instances.
|
Element |
DefaultElement.element(String name,
Namespace namespace) |
Element |
AbstractElement.element(String name,
Namespace namespace) |
Iterator |
AbstractElement.elementIterator(String name,
Namespace ns) |
List |
AbstractElement.elements(String name,
Namespace namespace) |
QName |
QNameCache.get(String name,
Namespace namespace)
DOCUMENT ME!
|
QName |
QNameCache.get(String localName,
Namespace namespace,
String qName)
DOCUMENT ME!
|
protected Map |
QNameCache.getNamespaceCache(Namespace namespace)
DOCUMENT ME!
|
void |
NamespaceStack.push(Namespace namespace)
Pushes the given namespace onto the stack so that its prefix becomes
available.
|
protected QName |
NamespaceStack.pushQName(String localName,
String qualifiedName,
Namespace namespace,
String prefix)
Adds the QName to the stack of available QNames
|
boolean |
AbstractElement.remove(Namespace namespace) |
void |
AbstractElement.setNamespace(Namespace namespace) |
void |
AbstractAttribute.setNamespace(Namespace namespace) |
Constructor and Description |
---|
BaseElement(String name,
Namespace namespace) |
DefaultAttribute(Element parent,
String name,
String value,
Namespace namespace)
Creates the
Attribute with the specified local name, value
and Namespace . |
DefaultAttribute(String name,
String value,
Namespace namespace)
Creates the
Attribute with the specified local name, value
and Namespace . |
DefaultElement(String name,
Namespace namespace) |
FlyweightAttribute(String name,
String value,
Namespace namespace)
Creates the
Attribute with the specified local name, value
and Namespace . |
Modifier and Type | Method and Description |
---|---|
Namespace |
ProxyDocumentFactory.createNamespace(String prefix,
String uri) |
Modifier and Type | Method and Description |
---|---|
int |
NodeComparator.compare(Namespace n1,
Namespace n2) |
QName |
ProxyDocumentFactory.createQName(String localName,
Namespace namespace) |
Constructor and Description |
---|
NonLazyElement(String name,
Namespace namespace) |
Modifier and Type | Method and Description |
---|---|
Namespace |
Dom4jProxy.getNamespace() |
Namespace |
Dom4jProxy.getNamespaceForPrefix(String s) |
Namespace |
Dom4jProxy.getNamespaceForURI(String s) |
Modifier and Type | Method and Description |
---|---|
void |
Dom4jProxy.add(Namespace namespace) |
boolean |
Dom4jProxy.remove(Namespace namespace) |
Modifier and Type | Method and Description |
---|---|
Namespace |
ElementWrapper.getNamespace() |
Namespace |
ElementWrapper.getNamespaceForPrefix(String s) |
Namespace |
ElementWrapper.getNamespaceForURI(String s) |
Modifier and Type | Method and Description |
---|---|
void |
ElementWrapper.add(Namespace namespace) |
boolean |
ElementWrapper.remove(Namespace namespace) |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.