- accept(Visitor) - Method in class org.dom4j.Namespace
-
- accept(Visitor) - Method in interface org.dom4j.Node
-
accept is the method used in the Visitor Pattern.
- Action - Interface in org.dom4j.rule
-
Action represents some default action which should occur when
a rule matches a node in the XSLT processing model.
- add(Node) - Method in interface org.dom4j.Branch
-
- add(Comment) - Method in interface org.dom4j.Branch
-
Adds the given Comment to this branch.
- add(Element) - Method in interface org.dom4j.Branch
-
Adds the given Element to this branch.
- add(ProcessingInstruction) - Method in interface org.dom4j.Branch
-
Adds the given ProcessingInstruction to this branch.
- add(Attribute) - Method in interface org.dom4j.Element
-
Adds the given Attribute to this element.
- add(CDATA) - Method in interface org.dom4j.Element
-
Adds the given CDATA to this element.
- add(Entity) - Method in interface org.dom4j.Element
-
Adds the given Entity to this element.
- add(Text) - Method in interface org.dom4j.Element
-
Adds the given Text to this element.
- add(Namespace) - Method in interface org.dom4j.Element
-
Adds the given Namespace to this element.
- addAll(RuleSet) - Method in class org.dom4j.rule.RuleSet
-
Adds all the rules to this RuleSet from the given other rule set.
- addAttribute(String, String) - Method in interface org.dom4j.Element
-
Adds the attribute value of the given local name.
- addAttribute(QName, String) - Method in interface org.dom4j.Element
-
Adds the attribute value of the given fully qualified name.
- addAttributes(Element, Attributes) - Method in class org.dom4j.io.SAXContentHandler
-
Add all the attributes to the given elements
- addCDATA(String) - Method in interface org.dom4j.Element
-
Adds a new CDATA node with the given text to this element.
- addComment(String) - Method in interface org.dom4j.Document
-
Adds a new Comment node with the given text to this
branch.
- addComment(String) - Method in interface org.dom4j.Element
-
Adds a new Comment node with the given text to this
element.
- addDeclaredNamespaces(Element) - Method in class org.dom4j.io.SAXContentHandler
-
Add all namespaces declared before the startElement() SAX event to the
current element so that they are available to child elements and
attributes
- addDefaultRule(Mode, Pattern, Action) - Method in class org.dom4j.rule.RuleManager
-
- addDefaultRules(Mode) - Method in class org.dom4j.rule.RuleManager
-
Adds the default stylesheet rules to the given
Modeinstance
- addDocType(String, String, String) - Method in interface org.dom4j.Document
-
Adds a DOCTYPE declaration to this document
- addDTDDeclaration(Object) - Method in class org.dom4j.io.SAXContentHandler
-
Adds an internal DTD declaration to the list of declarations
- addElement(String) - Method in interface org.dom4j.Branch
-
Adds a new Element node with the given name to this branch
and returns a reference to the new node.
- addElement(QName) - Method in interface org.dom4j.Branch
-
Adds a new
Element node with the given
QNameto
this branch and returns a reference to the new node.
- addElement(String, String) - Method in interface org.dom4j.Branch
-
Adds a new Element node with the given qualified name and
namespace URI to this branch and returns a reference to the new node.
- addEntity(String, String) - Method in interface org.dom4j.Element
-
Adds a new Entity node with the given name and text to
this element and returns a reference to the new node.
- addException(Element, SAXParseException) - Method in class org.dom4j.util.XMLErrorHandler
-
Adds the given parse exception information to the given element instance
- addExternalDTDDeclaration(Object) - Method in class org.dom4j.io.SAXContentHandler
-
Adds an external DTD declaration to the list of declarations
- addHandler(String, ElementHandler) - Method in interface org.dom4j.ElementPath
-
Adds the ElementHandler to be called when the specified
path is encounted.
- addHandler(String, ElementHandler) - Method in class org.dom4j.io.SAXReader
-
Adds the ElementHandler to be called when the specified
path is encounted.
- addHandler(String, ElementHandler) - Method in class org.dom4j.io.XPP3Reader
-
Adds the ElementHandler to be called when the specified
path is encounted.
- addHandler(String, ElementHandler) - Method in class org.dom4j.io.XPPReader
-
Adds the ElementHandler to be called when the specified
path is encounted.
- additionalNamespaces() - Method in interface org.dom4j.Element
-
Returns any additional namespaces declarations for this element other
than namespace returned via the
Element.getNamespace()method.
- addModifier(String, ElementModifier) - Method in class org.dom4j.io.SAXModifier
-
Adds the
ElementModifierto be called when the specified element
path is encounted while parsing the source.
- addNamespace(String, String) - Method in interface org.dom4j.Element
-
Adds a namespace to this element for use by its child content
- addNamespaceAttribute(AttributesImpl, Namespace) - Method in class org.dom4j.io.SAXWriter
-
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.
- addNode(Node) - Method in class org.dom4j.util.IndexedElement
-
- addProcessingInstruction(String, String) - Method in interface org.dom4j.Document
-
Adds a processing instruction for the given target
- addProcessingInstruction(String, Map) - Method in interface org.dom4j.Document
-
Adds a processing instruction for the given target
- addProcessingInstruction(String, String) - Method in interface org.dom4j.Element
-
Adds a processing instruction for the given target
- addProcessingInstruction(String, Map) - Method in interface org.dom4j.Element
-
Adds a processing instruction for the given target
- addRule(Rule) - Method in class org.dom4j.rule.Mode
-
- addRule(Rule) - Method in class org.dom4j.rule.RuleManager
-
- addRule(Rule) - Method in class org.dom4j.rule.RuleSet
-
- addRule(Rule) - Method in class org.dom4j.rule.Stylesheet
-
Add a rule to this stylesheet.
- addText(String) - Method in class org.dom4j.datatype.DatatypeElement
-
- addText(String) - Method in interface org.dom4j.Element
-
Adds a new Text node with the given text to this element.
- addToAttributeIndex(Attribute) - Method in class org.dom4j.util.IndexedElement
-
- addToAttributeIndex(Object, Attribute) - Method in class org.dom4j.util.IndexedElement
-
- addToElementIndex(Element) - Method in class org.dom4j.util.IndexedElement
-
- addToElementIndex(Object, Element) - Method in class org.dom4j.util.IndexedElement
-
- addToNameMap(Map, String, Rule) - Method in class org.dom4j.rule.Mode
-
Adds the Rule to a RuleSet for the given name.
- ANY_NODE - Static variable in interface org.dom4j.Node
-
Matches Element nodes
- ANY_NODE - Static variable in interface org.dom4j.rule.Pattern
-
Matches any node
- appendAttributes(Element) - Method in interface org.dom4j.Element
-
Appends the attributes of the given element to me.
- appendContent(Branch) - Method in interface org.dom4j.Branch
-
Appends the content of the given branch to this branch instance.
- appendDOMTree(Document, Node, List) - Method in class org.dom4j.io.DOMWriter
-
- appendDOMTree(Document, Node, Element) - Method in class org.dom4j.io.DOMWriter
-
- appendDOMTree(Document, Node, CDATA) - Method in class org.dom4j.io.DOMWriter
-
- appendDOMTree(Document, Node, Comment) - Method in class org.dom4j.io.DOMWriter
-
- appendDOMTree(Document, Node, String) - Method in class org.dom4j.io.DOMWriter
-
- appendDOMTree(Document, Node, Entity) - Method in class org.dom4j.io.DOMWriter
-
- appendDOMTree(Document, Node, ProcessingInstruction) - Method in class org.dom4j.io.DOMWriter
-
- appendText(String) - Method in interface org.dom4j.CharacterData
-
Appends the given text to this nodes text value.
- applyTemplates(Element) - Method in class org.dom4j.rule.Mode
-
- applyTemplates(Document) - Method in class org.dom4j.rule.Mode
-
- applyTemplates(Object, XPath) - Method in class org.dom4j.rule.Stylesheet
-
Processes the result of the xpath expression.
- applyTemplates(Object, XPath, String) - Method in class org.dom4j.rule.Stylesheet
-
Processes the result of the xpath expression in the given mode.
- applyTemplates(Object, XPath) - Method in class org.dom4j.rule.Stylesheet
-
- applyTemplates(Object, XPath, String) - Method in class org.dom4j.rule.Stylesheet
-
- applyTemplates(Object) - Method in class org.dom4j.rule.Stylesheet
-
If input is a Node, this will processes all of the
children of that node.
- applyTemplates(Object, String) - Method in class org.dom4j.rule.Stylesheet
-
Processes the input object in the given mode.
- asElement(Object) - Method in class org.dom4j.util.IndexedElement
-
- asElementIterator(Object) - Method in class org.dom4j.util.IndexedElement
-
- asElementList(Object) - Method in class org.dom4j.util.IndexedElement
-
- asXML() - Method in class org.dom4j.Namespace
-
- asXML() - Method in interface org.dom4j.Node
-
asXML returns the textual XML representation of this node.
- asXPathResult(Element) - Method in interface org.dom4j.Node
-
asXPathResult returns a version of this node which is
capable of being an XPath result.
- Attribute - Interface in org.dom4j
-
Attribute defines an XML attribute.
- attribute(int) - Method in interface org.dom4j.Element
-
Returns the attribute at the specified indexGets the
- attribute(String) - Method in interface org.dom4j.Element
-
Returns the attribute with the given name
- attribute(QName) - Method in interface org.dom4j.Element
-
DOCUMENT ME!
- attribute(String) - Method in class org.dom4j.util.IndexedElement
-
- attribute(QName) - Method in class org.dom4j.util.IndexedElement
-
- ATTRIBUTE_NODE - Static variable in interface org.dom4j.Node
-
Matches elements nodes
- attributeCount() - Method in interface org.dom4j.Element
-
DOCUMENT ME!
- AttributeDecl - Class in org.dom4j.dtd
-
AttributeDecl represents an attribute declaration in a DTD.
- AttributeDecl() - Constructor for class org.dom4j.dtd.AttributeDecl
-
- AttributeDecl(String, String, String, String, String) - Constructor for class org.dom4j.dtd.AttributeDecl
-
- attributeDecl(String, String, String, String, String) - Method in class org.dom4j.io.SAXContentHandler
-
Report an attribute type declaration.
- attributeDecl(String, String, String, String, String) - Method in class org.dom4j.io.SAXEventRecorder
-
- AttributeHelper - Class in org.dom4j.util
-
AttributeHelper a number of helper methods for working with
attribute values.
- AttributeHelper() - Constructor for class org.dom4j.util.AttributeHelper
-
- attributeIndex() - Method in class org.dom4j.util.IndexedElement
-
- attributeIterator() - Method in interface org.dom4j.Element
-
DOCUMENT ME!
- attributeNameForNamespace(Namespace) - Method in class org.dom4j.io.DOMWriter
-
- attributes() - Method in interface org.dom4j.Element
-
Returns the
Attributeinstances this element contains as a backed
Listso that the attributes may be modified directly using the
Listinterface.
- attributeValue(String) - Method in interface org.dom4j.Element
-
This returns the attribute value for the attribute with the given name
and any namespace or null if there is no such attribute or the empty
string if the attribute value is empty.
- attributeValue(String, String) - Method in interface org.dom4j.Element
-
This returns the attribute value for the attribute with the given name
and any namespace or the default value if there is no such attribute
value.
- attributeValue(QName) - Method in interface org.dom4j.Element
-
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.
- attributeValue(QName, String) - Method in interface org.dom4j.Element
-
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.