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.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.
|
Modifier and Type | Method | Description |
---|---|---|
Attribute |
Element.attribute(int index) |
Returns the attribute at the specified indexGets the
|
Attribute |
Element.attribute(java.lang.String name) |
Returns the attribute with the given name
|
Attribute |
Element.attribute(QName qName) |
DOCUMENT ME!
|
Attribute |
DocumentFactory.createAttribute(Element owner,
java.lang.String name,
java.lang.String value) |
|
Attribute |
DocumentFactory.createAttribute(Element owner,
QName qname,
java.lang.String value) |
|
static Attribute |
DocumentHelper.createAttribute(Element owner,
java.lang.String name,
java.lang.String value) |
|
static Attribute |
DocumentHelper.createAttribute(Element owner,
QName qname,
java.lang.String value) |
Modifier and Type | Method | Description |
---|---|---|
void |
Element.add(Attribute attribute) |
Adds the given
Attribute to this element. |
boolean |
Element.remove(Attribute attribute) |
Removes the given
Attribute from this element. |
void |
Visitor.visit(Attribute node) |
Visits the given
Attribute |
void |
VisitorSupport.visit(Attribute node) |
Modifier and Type | Class | Description |
---|---|---|
class |
BeanAttribute |
BeanAttribute represents a mutable XML attribute which is
backed by a property of the JavaBean of its parent element. |
Modifier and Type | Method | Description |
---|---|---|
Attribute |
BeanAttributeList.attribute(java.lang.String name) |
|
Attribute |
BeanAttributeList.attribute(QName qname) |
|
Attribute |
BeanElement.attribute(java.lang.String name) |
|
Attribute |
BeanElement.attribute(QName qname) |
|
Attribute |
BeanDocumentFactory.createAttribute(Element owner,
QName qname,
java.lang.String value) |
Modifier and Type | Class | Description |
---|---|---|
class |
DOMAttribute |
DOMAttribute implements a doubly linked attribute which
supports the W3C DOM API. |
Modifier and Type | Method | Description |
---|---|---|
protected Attribute |
DOMElement.attribute(java.lang.String namespaceURI,
java.lang.String localName) |
|
protected Attribute |
DOMElement.attribute(org.w3c.dom.Attr attr) |
|
Attribute |
DOMDocumentFactory.createAttribute(Element owner,
QName qname,
java.lang.String value) |
|
protected Attribute |
DOMElement.createAttribute(org.w3c.dom.Attr newAttr) |
Modifier and Type | Method | Description |
---|---|---|
Attribute |
STAXEventReader.createAttribute(Element elem,
javax.xml.stream.events.Attribute attr) |
Constructs a new DOM4J Attribute from the provided StAX Attribute event.
|
Attribute |
STAXEventReader.readAttribute(javax.xml.stream.XMLEventReader reader) |
Constructs a DOM4J Attribute from the provided event stream.
|
Modifier and Type | Method | Description |
---|---|---|
javax.xml.stream.events.Attribute |
STAXEventWriter.createAttribute(Attribute attr) |
Constructs a STAX
Attribute event from a
DOM4J Attribute . |
void |
XMLWriter.write(Attribute attribute) |
Writes the given
Attribute . |
void |
STAXEventWriter.writeAttribute(Attribute attr) |
Writes a DOM4J
Attribute to the stream. |
protected void |
XMLWriter.writeAttribute(Attribute attribute) |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractAttribute |
AbstractNamespace is an abstract base class for tree
implementors to use for implementation inheritence. |
class |
DefaultAttribute |
DefaultAttribute implements a doubly linked node which
supports the parent relationship and is mutable. |
class |
FlyweightAttribute |
FlyweightAttribute is a Flyweight pattern implementation of a
singly linked, read-only XML Attribute. |
Modifier and Type | Method | Description |
---|---|---|
Attribute |
AbstractElement.attribute(int index) |
|
Attribute |
AbstractElement.attribute(java.lang.String name) |
|
Attribute |
AbstractElement.attribute(java.lang.String name,
Namespace namespace) |
|
Attribute |
AbstractElement.attribute(QName qName) |
|
Attribute |
DefaultElement.attribute(int index) |
|
Attribute |
DefaultElement.attribute(java.lang.String name) |
|
Attribute |
DefaultElement.attribute(java.lang.String name,
Namespace namespace) |
|
Attribute |
DefaultElement.attribute(QName qName) |
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractElement.add(Attribute attribute) |
|
void |
DefaultElement.add(Attribute attribute) |
|
boolean |
AbstractElement.remove(Attribute attribute) |
|
boolean |
DefaultElement.remove(Attribute attribute) |
Modifier and Type | Class | Description |
---|---|---|
class |
UserDataAttribute |
UserDataAttribute support the adornment of a user data object
on an Element or Attribute instance such that the methods UserDataAttribute.getData()
UserDataAttribute.setData(Object) will get and set the values of a user data object. |
Modifier and Type | Method | Description |
---|---|---|
Attribute |
IndexedElement.attribute(java.lang.String name) |
|
Attribute |
IndexedElement.attribute(QName qName) |
|
Attribute |
ProxyDocumentFactory.createAttribute(Element owner,
java.lang.String name,
java.lang.String value) |
|
Attribute |
ProxyDocumentFactory.createAttribute(Element owner,
QName qname,
java.lang.String value) |
|
Attribute |
UserDataDocumentFactory.createAttribute(Element owner,
QName qname,
java.lang.String value) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
IndexedElement.addToAttributeIndex(java.lang.Object key,
Attribute value) |
|
protected void |
IndexedElement.addToAttributeIndex(Attribute attribute) |
|
protected static boolean |
AttributeHelper.booleanValue(Attribute attribute) |
|
int |
NodeComparator.compare(Attribute n1,
Attribute n2) |
|
protected void |
IndexedElement.removeFromAttributeIndex(java.lang.Object key,
Attribute value) |
|
protected void |
IndexedElement.removeFromAttributeIndex(Attribute attribute) |
Copyright ? 2005 MetaStuff Ltd. All Rights Reserved. Hosted by