Uses of Interface
org.dom4j.Attribute
Packages that use Attribute
Package
Description
Defines the XML Document Object Model in Java interfaces together with some helper classes.
An implementation of the dom4j API which allows JavaBeans to be used to store and retrieve attribute values from Element.
An implementation of the dom4j API which also supports the W3C object model.
Provides input and output via SAX and DOM together with writing dom4j objects to streams as XML text.
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.
A collection of utility classes for the dom4j API.
-
Uses of Attribute in org.dom4j
Modifier and TypeMethodDescriptionElement.attribute
(int index) Returns the attribute at the specified indexGets theReturns the attribute with the given nameDOCUMENT ME!DocumentFactory.createAttribute
(Element owner, String name, String value) DocumentFactory.createAttribute
(Element owner, QName qname, String value) static Attribute
DocumentHelper.createAttribute
(Element owner, String name, String value) static Attribute
DocumentHelper.createAttribute
(Element owner, QName qname, String value) Modifier and TypeMethodDescriptionvoid
Adds the givenAttribute
to this element.boolean
Removes the givenAttribute
from this element.void
Visits the givenAttribute
void
Modifier and TypeMethodDescriptionvoid
Element.setAttributes
(List<Attribute> attributes) Sets the attributes that this element contains -
Uses of Attribute in org.dom4j.bean
Classes in org.dom4j.bean that implement AttributeModifier and TypeClassDescriptionclass
BeanAttribute
represents a mutable XML attribute which is backed by a property of the JavaBean of its parent element.Methods in org.dom4j.bean that return AttributeModifier and TypeMethodDescriptionBeanDocumentFactory.createAttribute
(Element owner, QName qname, String value) Methods in org.dom4j.bean that return types with arguments of type AttributeModifier and TypeMethodDescriptionBeanElement.createAttributeList()
A Factory Method pattern which lazily creates a List implementation used to store contentBeanElement.createAttributeList
(int size) Method parameters in org.dom4j.bean with type arguments of type Attribute -
Uses of Attribute in org.dom4j.dom
Classes in org.dom4j.dom that implement AttributeModifier and TypeClassDescriptionclass
DOMAttribute
implements a doubly linked attribute which supports the W3C DOM API.Methods in org.dom4j.dom that return AttributeModifier and TypeMethodDescriptionprotected Attribute
protected Attribute
DOMDocumentFactory.createAttribute
(Element owner, QName qname, String value) protected Attribute
DOMElement.createAttribute
(Attr newAttr) -
Uses of Attribute in org.dom4j.io
Fields in org.dom4j.io with type parameters of type AttributeModifier and TypeFieldDescriptionSTAXEventWriter.AttributeIterator.iter
The underlying DOm4J attribute iterator.Methods in org.dom4j.io that return AttributeModifier and TypeMethodDescriptionSTAXEventReader.createAttribute
(Element elem, Attribute attr) Constructs a new DOM4J Attribute from the provided StAX Attribute event.STAXEventReader.readAttribute
(XMLEventReader reader) Constructs a DOM4J Attribute from the provided event stream.Methods in org.dom4j.io with parameters of type AttributeModifier and TypeMethodDescriptionSTAXEventWriter.createAttribute
(Attribute attr) void
Writes the givenAttribute
.void
STAXEventWriter.writeAttribute
(Attribute attr) Writes a DOM4JAttribute
to the stream.protected void
XMLWriter.writeAttribute
(Attribute attribute) Constructor parameters in org.dom4j.io with type arguments of type Attribute -
Uses of Attribute in org.dom4j.tree
Classes in org.dom4j.tree that implement AttributeModifier and TypeClassDescriptionclass
AbstractNamespace
is an abstract base class for tree implementors to use for implementation inheritence.class
DefaultAttribute
implements a doubly linked node which supports the parent relationship and is mutable.class
FlyweightAttribute
is a Flyweight pattern implementation of a singly linked, read-only XML Attribute.Fields in org.dom4j.tree with type parameters of type AttributeMethods in org.dom4j.tree that return AttributeModifier and TypeMethodDescriptionAbstractElement.attribute
(int index) DefaultElement.attribute
(int index) Methods in org.dom4j.tree that return types with arguments of type AttributeModifier and TypeMethodDescriptionAbstractElement.attributeIterator()
DefaultElement.attributeIterator()
AbstractElement.attributeList()
DOCUMENT ME!AbstractElement.attributeList
(int attributeCount) DOCUMENT ME!BaseElement.attributeList()
BaseElement.attributeList
(int size) DefaultElement.attributeList()
DefaultElement.attributeList
(int size) AbstractElement.attributes()
DefaultElement.attributes()
AbstractElement.createAttributeList()
A Factory Method pattern which creates a List implementation used to store attributesAbstractElement.createAttributeList
(int size) A Factory Method pattern which creates a List implementation used to store attributesMethods in org.dom4j.tree with parameters of type AttributeModifier and TypeMethodDescriptionvoid
void
boolean
boolean
Method parameters in org.dom4j.tree with type arguments of type AttributeModifier and TypeMethodDescriptionprotected void
BaseElement.setAttributeList
(List<Attribute> attributeList) protected void
DefaultElement.setAttributeList
(List<Attribute> attributeList) void
BaseElement.setAttributes
(List<Attribute> attributes) void
DefaultElement.setAttributes
(List<Attribute> attributes) -
Uses of Attribute in org.dom4j.util
Classes in org.dom4j.util that implement AttributeModifier and TypeClassDescriptionclass
UserDataAttribute
support the adornment of a user data object on an Element or Attribute instance such that the methodsUserDataAttribute.getData()
UserDataAttribute.setData(Object)
will get and set the values of a user data object.Fields in org.dom4j.util with type parameters of type AttributeModifier and TypeFieldDescriptionIndexedElement.attributeIndex
Lazily constructed index for attributes Keys are of type QName and String Values are of type <A>Methods in org.dom4j.util that return AttributeModifier and TypeMethodDescriptionProxyDocumentFactory.createAttribute
(Element owner, String name, String value) ProxyDocumentFactory.createAttribute
(Element owner, QName qname, String value) UserDataDocumentFactory.createAttribute
(Element owner, QName qname, String value) Methods in org.dom4j.util that return types with arguments of type AttributeModifier and TypeMethodDescriptionIndexedElement.attributeIndex()
IndexedElement.createAttributeIndex()
A Factory Method to create the index for attributesMethods in org.dom4j.util with parameters of type AttributeModifier and TypeMethodDescriptionprotected void
IndexedElement.addToAttributeIndex
(Object key, Attribute value) protected void
IndexedElement.addToAttributeIndex
(Attribute attribute) protected static boolean
AttributeHelper.booleanValue
(Attribute attribute) int
protected void
IndexedElement.removeFromAttributeIndex
(Object key, Attribute value) protected void
IndexedElement.removeFromAttributeIndex
(Attribute attribute)