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 | Method and Description |
---|---|
static QName |
DocumentHelper.createQName(String localName) |
QName |
DocumentFactory.createQName(String localName) |
static QName |
DocumentHelper.createQName(String localName,
Namespace namespace) |
QName |
DocumentFactory.createQName(String localName,
Namespace namespace) |
QName |
DocumentFactory.createQName(String qualifiedName,
String uri) |
QName |
DocumentFactory.createQName(String name,
String prefix,
String uri) |
static QName |
QName.get(String name) |
static QName |
QName.get(String name,
Namespace namespace) |
static QName |
QName.get(String localName,
Namespace namespace,
String qualifiedName) |
static QName |
QName.get(String qualifiedName,
String uri) |
static QName |
QName.get(String name,
String prefix,
String uri) |
QName |
Element.getQName()
Returns the
QName of this element which represents the
local name, the qualified name and the Namespace . |
QName |
Attribute.getQName()
Returns the
QName of this attribute which represents the
local name, the qualified name and the Namespace . |
QName |
Element.getQName(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,
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!
|
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.
|
String |
Element.attributeValue(QName qName,
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,
String value) |
Attribute |
DocumentFactory.createAttribute(Element owner,
QName qname,
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.
|
Iterator |
Element.elementIterator(QName qName)
Returns an iterator over the elements contained in this element which
match the given fully qualified name.
|
List |
Element.elements(QName qName)
Returns the elements contained in this element with the given fully
qualified name.
|
String |
Element.elementText(QName qname) |
String |
Element.elementTextTrim(QName qname) |
protected QName |
DocumentFactory.intern(QName qname)
DOCUMENT ME!
|
void |
Element.setAttributeValue(QName qName,
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 |
BeanAttribute.getQName() |
QName |
BeanMetaData.getQName(int index) |
QName |
BeanAttributeList.getQName(int index) |
Modifier and Type | Method and Description |
---|---|
Element |
BeanElement.addAttribute(QName qName,
String value) |
Attribute |
BeanElement.attribute(QName qname) |
Attribute |
BeanAttributeList.attribute(QName qname) |
Attribute |
BeanDocumentFactory.createAttribute(Element owner,
QName qname,
String value) |
protected Object |
BeanDocumentFactory.createBean(QName qname) |
protected Object |
BeanDocumentFactory.createBean(QName qname,
Attributes attributes) |
Element |
BeanDocumentFactory.createElement(QName qname) |
Element |
BeanDocumentFactory.createElement(QName qname,
Attributes attributes) |
int |
BeanMetaData.getIndex(QName qName) |
Constructor and Description |
---|
BeanElement(QName qname) |
BeanElement(QName qname,
Object bean) |
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,
String value) |
Attribute |
DatatypeDocumentFactory.createAttribute(Element owner,
QName qname,
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,
String text) |
DatatypeElement(QName qname,
int attributeCount,
XSDatatype type) |
DatatypeElement(QName qname,
XSDatatype datatype) |
DatatypeElementFactory(QName elementQName) |
Modifier and Type | Method and Description |
---|---|
protected QName |
DOMElement.getQName(String namespace,
String qualifiedName) |
Modifier and Type | Method and Description |
---|---|
Attribute |
DOMDocumentFactory.createAttribute(Element owner,
QName qname,
String value) |
Element |
DOMDocumentFactory.createElement(QName qname) |
Element |
DOMDocumentFactory.createElement(QName qname,
int attributeCount) |
Constructor and Description |
---|
DOMAttribute(Element parent,
QName qname,
String value) |
DOMAttribute(QName qname) |
DOMAttribute(QName qname,
String value) |
DOMElement(QName qname) |
DOMElement(QName qname,
int attributeCount) |
Modifier and Type | Method and Description |
---|---|
QName |
STAXEventReader.createQName(QName qname)
Constructs a new DOM4J QName from the provided JAXP QName.
|
Modifier and Type | Method and Description |
---|---|
QName |
STAXEventWriter.createQName(QName qname)
|
Modifier and Type | Method and Description |
---|---|
protected QName |
QNameCache.createQName(String name)
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)
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.
|
QName |
QNameCache.get(String name)
DOCUMENT ME!
|
QName |
QNameCache.get(String name,
Namespace namespace)
DOCUMENT ME!
|
QName |
QNameCache.get(String localName,
Namespace namespace,
String qName)
DOCUMENT ME!
|
QName |
QNameCache.get(String qualifiedName,
String uri) |
QName |
NamespaceStack.getAttributeQName(String namespaceURI,
String localName,
String qualifiedName) |
QName |
FlyweightAttribute.getQName() |
QName |
DefaultElement.getQName() |
QName |
BaseElement.getQName() |
QName |
AbstractElement.getQName(String qualifiedName) |
QName |
NamespaceStack.getQName(String namespaceURI,
String localName,
String qualifiedName) |
QName |
QNameCache.intern(QName qname)
DOCUMENT ME!
|
protected QName |
NamespaceStack.pushQName(String localName,
String qualifiedName,
Namespace namespace,
String prefix)
Adds the QName to the stack of available QNames
|
Modifier and Type | Method and Description |
---|---|
Element |
AbstractElement.addAttribute(QName qName,
String value) |
Element |
AbstractDocument.addElement(QName qName) |
Element |
AbstractBranch.addElement(QName qname) |
Attribute |
DefaultElement.attribute(QName qName) |
Attribute |
AbstractElement.attribute(QName qName) |
String |
AbstractElement.attributeValue(QName qName) |
String |
AbstractElement.attributeValue(QName qName,
String defaultValue) |
Element |
AbstractElement.createCopy(QName qName) |
protected Element |
AbstractElement.createElement(QName qName) |
Element |
DefaultElement.element(QName qName) |
Element |
AbstractElement.element(QName qName) |
Iterator |
AbstractElement.elementIterator(QName qName) |
List |
AbstractElement.elements(QName qName) |
String |
AbstractElement.elementText(QName qName) |
String |
AbstractElement.elementTextTrim(QName qName) |
QName |
QNameCache.intern(QName qname)
DOCUMENT ME!
|
void |
AbstractElement.setAttributeValue(QName qName,
String value)
Deprecated.
As of version 0.5. Please use
AbstractElement.addAttribute(String,String) instead. WILL BE REMOVED IN
dom4j-1.6 !! |
void |
DefaultElement.setQName(QName name) |
void |
BaseElement.setQName(QName name) |
Constructor and Description |
---|
BaseElement(QName qname) |
DefaultAttribute(Element parent,
QName qname,
String value) |
DefaultAttribute(QName qname) |
DefaultAttribute(QName qname,
String value) |
DefaultElement(QName qname) |
DefaultElement(QName qname,
int attributeCount) |
ElementQNameIterator(Iterator proxy,
QName qName)
Deprecated.
|
FlyweightAttribute(QName qname) |
FlyweightAttribute(QName qname,
String value) |
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(String localName) |
QName |
ProxyDocumentFactory.createQName(String localName,
Namespace namespace) |
QName |
ProxyDocumentFactory.createQName(String qualifiedName,
String uri) |
QName |
ProxyDocumentFactory.createQName(String name,
String prefix,
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 |
UserDataDocumentFactory.createAttribute(Element owner,
QName qname,
String value) |
Attribute |
ProxyDocumentFactory.createAttribute(Element owner,
QName qname,
String value) |
protected Element |
UserDataElement.createElement(QName qName) |
Element |
UserDataDocumentFactory.createElement(QName qname) |
Element |
ProxyDocumentFactory.createElement(QName qname) |
Element |
NonLazyDocumentFactory.createElement(QName qname) |
Element |
IndexedDocumentFactory.createElement(QName qname) |
Element |
IndexedDocumentFactory.createElement(QName qname,
int attributeCount) |
Element |
IndexedElement.element(QName qName) |
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,
String text) |
UserDataElement(QName qname) |
Modifier and Type | Method and Description |
---|---|
QName |
Dom4jProxy.getQName() |
QName |
Dom4jProxy.getQName(String s) |
Modifier and Type | Method and Description |
---|---|
Element |
Dom4jProxy.addAttribute(QName attrName,
String text) |
Element |
Dom4jProxy.addElement(QName qName) |
Attribute |
Dom4jProxy.attribute(QName qName) |
String |
Dom4jProxy.attributeValue(QName qName) |
String |
Dom4jProxy.attributeValue(QName qName,
String defaultValue) |
Element |
Dom4jProxy.createCopy(QName qName) |
Element |
Dom4jProxy.element(QName qName) |
Iterator |
Dom4jProxy.elementIterator(QName qName) |
List |
Dom4jProxy.elements(QName qName) |
String |
Dom4jProxy.elementText(QName qName) |
String |
Dom4jProxy.elementTextTrim(QName qName) |
void |
Dom4jProxy.setAttributeValue(QName qName,
String value)
Deprecated.
|
void |
Dom4jProxy.setQName(QName qName) |
Modifier and Type | Method and Description |
---|---|
QName |
ElementWrapper.getQName() |
QName |
ElementWrapper.getQName(String s) |
Modifier and Type | Method and Description |
---|---|
Element |
ElementWrapper.addAttribute(QName attrName,
String text) |
Element |
ElementWrapper.addElement(QName qName) |
Attribute |
ElementWrapper.attribute(QName qName) |
String |
ElementWrapper.attributeValue(QName qName) |
String |
ElementWrapper.attributeValue(QName qName,
String defaultValue) |
Element |
ElementWrapper.createCopy(QName qName) |
Element |
ElementWrapper.element(QName qName) |
Iterator |
ElementWrapper.elementIterator(QName qName) |
List |
ElementWrapper.elements(QName qName) |
String |
ElementWrapper.elementText(QName qName) |
String |
ElementWrapper.elementTextTrim(QName qName) |
void |
ElementWrapper.setAttributeValue(QName qName,
String value)
Deprecated.
|
void |
ElementWrapper.setQName(QName qName) |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.