|
|||||||||
| Home >> All >> org >> [ jdom overview ] | PREV NEXT | ||||||||
A
- ADD - Static variable in class org.jdom.ContentList
- Attribute - class org.jdom.Attribute.
- An XML attribute.
- Attribute() - Constructor for class org.jdom.Attribute
- Default, no-args constructor for implementations to use if needed.
- Attribute(String, String, Namespace) - Constructor for class org.jdom.Attribute
- This will create a new
Attributewith the specified (local) name and value, and in the providedNamespace. - Attribute(String, String, int, Namespace) - Constructor for class org.jdom.Attribute
- This will create a new
Attributewith the specified (local) name, value, and type, and in the providedNamespace. - Attribute(String, String) - Constructor for class org.jdom.Attribute
- This will create a new
Attributewith the specified (local) name and value, and does not place the attribute in aNamespace. - Attribute(String, String, int) - Constructor for class org.jdom.Attribute
- This will create a new
Attributewith the specified (local) name, value and type, and does not place the attribute in aNamespace. - AttributeList - class org.jdom.AttributeList.
AttributeListrepresents legal JDOMAttributecontent.- AttributeList() - Constructor for class org.jdom.AttributeList
- Force an Element parent
- AttributeList(Element) - Constructor for class org.jdom.AttributeList
- Create a new instance of the AttributeList representing Element content
- add(Object) - Method in class org.jdom.AttributeList
- Add a attribute to the end of the list or replace a existing
attribute with the same name and
Namespace. - add(int, Object) - Method in class org.jdom.AttributeList
- Inserts the specified attribute at the specified position in this list.
- add(int, Attribute) - Method in class org.jdom.AttributeList
- Check and add the
Attributeto this list at the given index. - add(int, Object) - Method in class org.jdom.ContentList.FilterList
- Inserts the specified object at the specified position in this list.
- add(Object) - Method in class org.jdom.ContentList.FilterListIterator
- Inserts the specified element into the list.
- add(int, Object) - Method in class org.jdom.ContentList
- Inserts the specified object at the specified position in this list.
- add(int, Content) - Method in class org.jdom.ContentList
- Check and add the
Elementto this list at the given index. - addAll(Collection) - Method in class org.jdom.AttributeList
- Add all the objects in the specified collection.
- addAll(int, Collection) - Method in class org.jdom.AttributeList
- Inserts the specified collecton at the specified position in this list.
- addAll(Collection) - Method in class org.jdom.ContentList
- Add the specified collecton to the end of this list.
- addAll(int, Collection) - Method in class org.jdom.ContentList
- Inserts the specified collecton at the specified position in this list.
- addContent(Parent, Content) - Method in class org.jdom.DefaultJDOMFactory
- addContent(Content) - Method in class org.jdom.Document
- Appends the child to the end of the content list.
- addContent(Collection) - Method in class org.jdom.Document
- Appends all children in the given collection to the end of the content list.
- addContent(int, Content) - Method in class org.jdom.Document
- Inserts the child into the content list at the given index.
- addContent(int, Collection) - Method in class org.jdom.Document
- Inserts the content in a collection into the content list at the given index.
- addContent(String) - Method in class org.jdom.Element
- This adds text content to this element.
- addContent(Content) - Method in class org.jdom.Element
- Appends the child to the end of the element's content list.
- addContent(Collection) - Method in class org.jdom.Element
- Appends all children in the given collection to the end of the content list.
- addContent(int, Content) - Method in class org.jdom.Element
- Inserts the child into the content list at the given index.
- addContent(int, Collection) - Method in class org.jdom.Element
- Inserts the content in a collection into the content list at the given index.
- addContent(Parent, Content) - Method in interface org.jdom.JDOMFactory
- addContent(Parent, Content) - Method in class org.jdom.UncheckedJDOMFactory
- addNamespaceDeclaration(Element, Namespace) - Method in class org.jdom.DefaultJDOMFactory
- addNamespaceDeclaration(Namespace) - Method in class org.jdom.Element
- Adds a namespace declarations to this element.
- addNamespaceDeclaration(Element, Namespace) - Method in interface org.jdom.JDOMFactory
- addNamespaceDeclaration(Element, Namespace) - Method in class org.jdom.UncheckedJDOMFactory
- additionalNamespaces - Variable in class org.jdom.Element
- Additional namespace declarations to store on this element; useful during output
- append(String) - Method in class org.jdom.CDATA
- This will append character content to whatever content already
exists within this
CDATAnode. - append(String) - Method in class org.jdom.Text
- This will append character content to whatever content already
exists within this
Textnode. - append(Text) - Method in class org.jdom.Text
- This will append the content of another
Textnode to this node. - attribute(String, String, Namespace) - Method in class org.jdom.DefaultJDOMFactory
- attribute(String, String, int, Namespace) - Method in class org.jdom.DefaultJDOMFactory
- attribute(String, String) - Method in class org.jdom.DefaultJDOMFactory
- attribute(String, String, int) - Method in class org.jdom.DefaultJDOMFactory
- attribute(String, String, Namespace) - Method in interface org.jdom.JDOMFactory
-
This will create a new
Attributewith the specified (local) name and value, and in the providedNamespace. - attribute(String, String, int, Namespace) - Method in interface org.jdom.JDOMFactory
- This will create a new
Attributewith the specified (local) name, value, and type, and in the providedNamespace. - attribute(String, String) - Method in interface org.jdom.JDOMFactory
- This will create a new
Attributewith the specified (local) name and value, and does not place the attribute in aNamespace. - attribute(String, String, int) - Method in interface org.jdom.JDOMFactory
- This will create a new
Attributewith the specified (local) name, value and type, and does not place the attribute in aNamespace. - attribute(String, String, Namespace) - Method in class org.jdom.UncheckedJDOMFactory
- attribute(String, String, int, Namespace) - Method in class org.jdom.UncheckedJDOMFactory
- attribute(String, String) - Method in class org.jdom.UncheckedJDOMFactory
- attribute(String, String, int) - Method in class org.jdom.UncheckedJDOMFactory
- attributes - Variable in class org.jdom.Element
- The attributes of the element.
B
- baseURI - Variable in class org.jdom.Document
- See http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/core.html#baseURIs-Considerations
C
- CDATA - class org.jdom.CDATA.
- An XML CDATA section.
- CDATA() - Constructor for class org.jdom.CDATA
- This is the protected, no-args constructor standard in all JDOM classes.
- CDATA(String) - Constructor for class org.jdom.CDATA
- This constructor creates a new
CDATAnode, with the supplied string value as it's character content. - CDATA_TYPE - Static variable in class org.jdom.Attribute
- Attribute type: the attribute value is a string.
- CREATE - Static variable in class org.jdom.ContentList
- Used inner class FilterListIterator to help hasNext and hasPrevious the next index of our cursor (must be here for JDK1.1).
- CVS_ID - Static variable in class org.jdom.Attribute
- CVS_ID - Static variable in class org.jdom.AttributeList
- CVS_ID - Static variable in class org.jdom.CDATA
- CVS_ID - Static variable in class org.jdom.Comment
- CVS_ID - Static variable in class org.jdom.ContentList
- CVS_ID - Static variable in class org.jdom.DataConversionException
- CVS_ID - Static variable in class org.jdom.DefaultJDOMFactory
- CVS_ID - Static variable in class org.jdom.DescendantIterator
- CVS_ID - Static variable in class org.jdom.DocType
- CVS_ID - Static variable in class org.jdom.Document
- CVS_ID - Static variable in class org.jdom.Element
- CVS_ID - Static variable in class org.jdom.EntityRef
- CVS_ID - Static variable in class org.jdom.FilterIterator
- CVS_ID - Static variable in class org.jdom.IllegalAddException
- CVS_ID - Static variable in class org.jdom.IllegalDataException
- CVS_ID - Static variable in class org.jdom.IllegalNameException
- CVS_ID - Static variable in class org.jdom.IllegalTargetException
- CVS_ID - Static variable in class org.jdom.JDOMException
- CVS_ID - Static variable in class org.jdom.Namespace
- CVS_ID - Static variable in class org.jdom.ProcessingInstruction
- CVS_ID - Static variable in class org.jdom.Text
- CVS_ID - Static variable in class org.jdom.Verifier
- Comment - class org.jdom.Comment.
- An XML comment.
- Comment() - Constructor for class org.jdom.Comment
- Default, no-args constructor for implementations to use if needed.
- Comment(String) - Constructor for class org.jdom.Comment
- This creates the comment with the supplied text.
- Content - class org.jdom.Content.
- Superclass for JDOM objects which can be legal child content of Parent nodes.
- Content() - Constructor for class org.jdom.Content
- ContentList - class org.jdom.ContentList.
- A non-public list implementation holding only legal JDOM content, including content for Document or Element nodes.
- ContentList(Parent) - Constructor for class org.jdom.ContentList
- Force either a Document or Element parent
- ContentList.FilterList - class org.jdom.ContentList.FilterList.
FilterListrepresents legal JDOM content, including content forDocuments orElements.- ContentList.FilterList(Filter) - Constructor for class org.jdom.ContentList.FilterList
- Create a new instance of the FilterList with the specified Filter.
- ContentList.FilterListIterator - class org.jdom.ContentList.FilterListIterator.
- ContentList.FilterListIterator(Filter, int) - Constructor for class org.jdom.ContentList.FilterListIterator
- Default constructor
- cause - Variable in class org.jdom.JDOMException
- A wrapped
Throwable - cdata(String) - Method in class org.jdom.DefaultJDOMFactory
- cdata(String) - Method in interface org.jdom.JDOMFactory
- This creates the CDATA with the supplied text.
- cdata(String) - Method in class org.jdom.UncheckedJDOMFactory
- checkAttributeName(String) - Static method in class org.jdom.Verifier
- This will check the supplied name to see if it is legal for use as
a JDOM
Attributename. - checkCDATASection(String) - Static method in class org.jdom.Verifier
- This will check the supplied data to see if it is legal for use as
JDOM
CDATA. - checkCharacterData(String) - Static method in class org.jdom.Verifier
- This will check the supplied string to see if it only contains characters allowed by the XML 1.0 specification.
- checkCommentData(String) - Static method in class org.jdom.Verifier
- This will check the supplied data to see if it is legal for use as
JDOM
Commentdata. - checkConcurrentModification() - Method in class org.jdom.ContentList.FilterListIterator
- Check if are backing list is being modified by someone else.
- checkElementName(String) - Static method in class org.jdom.Verifier
- This will check the supplied name to see if it is legal for use as
a JDOM
Elementname. - checkNamespaceCollision(Namespace, Namespace) - Static method in class org.jdom.Verifier
- Check if two namespaces collide.
- checkNamespaceCollision(Attribute, Element) - Static method in class org.jdom.Verifier
- Check if
Attribute's namespace collides with aElement's namespace. - checkNamespaceCollision(Namespace, Element) - Static method in class org.jdom.Verifier
- Check if a
Namespacecollides with aElement's namespace. - checkNamespaceCollision(Namespace, Attribute) - Static method in class org.jdom.Verifier
- Check if a
Namespacecollides with aAttribute's namespace. - checkNamespaceCollision(Namespace, List) - Static method in class org.jdom.Verifier
- Check if a
Namespacecollides with any namespace from a list of objects. - checkNamespacePrefix(String) - Static method in class org.jdom.Verifier
- This will check the supplied name to see if it is legal for use as
a JDOM
Namespaceprefix. - checkNamespaceURI(String) - Static method in class org.jdom.Verifier
- This will check the supplied name to see if it is legal for use as
a JDOM
NamespaceURI. - checkProcessingInstructionData(String) - Static method in class org.jdom.Verifier
- This will check the supplied data to see if it is legal for use as
ProcessingInstructiondata. - checkProcessingInstructionTarget(String) - Static method in class org.jdom.Verifier
- This will check the supplied data to see if it is legal for use as
a JDOM
ProcessingInstructiontarget. - checkPublicID(String) - Static method in class org.jdom.Verifier
- This will ensure that the data for a public identifier is legal.
- checkSystemLiteral(String) - Static method in class org.jdom.Verifier
- This will ensure that the data for a system literal is legal.
- checkURI(String) - Static method in class org.jdom.Verifier
- Checks a string to see if it is a legal RFC 2396 URI.
- checkXMLName(String) - Static method in class org.jdom.Verifier
- This is a utility function for sharing the base process of checking any XML name.
- clear() - Method in class org.jdom.AttributeList
- Clear the current list.
- clear() - Method in class org.jdom.ContentList
- Clear the current list.
- clearAndSet(Collection) - Method in class org.jdom.AttributeList
- Clear the current list and set it to the contents
of the
Collection. - clearAndSet(Collection) - Method in class org.jdom.ContentList
- Clear the current list and set it to the contents
of the
Collection. - clone() - Method in class org.jdom.Attribute
- This will return a clone of this
Attribute. - clone() - Method in class org.jdom.Content
- Returns a deep, unattached copy of this child and its descendants detached from any parent or document.
- clone() - Method in class org.jdom.Document
- This will return a deep clone of this
Document. - clone() - Method in class org.jdom.Element
- This returns a deep clone of this element.
- clone() - Method in interface org.jdom.Parent
- Obtain a deep, unattached copy of this parent and it's children.
- clone() - Method in class org.jdom.ProcessingInstruction
- This will return a clone of this
ProcessingInstruction. - clone() - Method in class org.jdom.Text
- This will return a clone of this
Textnode, with the same character content, but no parent. - cloneContent() - Method in class org.jdom.Document
- cloneContent() - Method in class org.jdom.Element
- cloneContent() - Method in interface org.jdom.Parent
- Returns a list containing detached clones of this parent's content list.
- comment(String) - Method in class org.jdom.DefaultJDOMFactory
- comment(String) - Method in interface org.jdom.JDOMFactory
- This creates the comment with the supplied text.
- comment(String) - Method in class org.jdom.UncheckedJDOMFactory
- content - Variable in class org.jdom.Document
- This document's content including comments, PIs, a possible DocType, and a root element.
- content - Variable in class org.jdom.Element
- The content of the element.
- count - Variable in class org.jdom.ContentList.FilterList
- Current number of items in this view
- cursor - Variable in class org.jdom.ContentList.FilterListIterator
- Index in backing list of next object
D
- DataConversionException - exception org.jdom.DataConversionException.
- Thrown when a data conversion from a string to value type fails, such as can happen with the Attribute convenience getter functions.
- DataConversionException(String, String) - Constructor for class org.jdom.DataConversionException
- Constructs an exception where the named construct couldn't be converted to the named data type.
- DefaultJDOMFactory - class org.jdom.DefaultJDOMFactory.
- Creates the standard top-level JDOM classes (Element, Document, Comment, etc).
- DefaultJDOMFactory() - Constructor for class org.jdom.DefaultJDOMFactory
- DescendantIterator - class org.jdom.DescendantIterator.
- Traverse all a parent's descendants (all children at any level below the parent).
- DescendantIterator(Parent) - Constructor for class org.jdom.DescendantIterator
- Iterator for the descendants of the supplied object.
- DocType - class org.jdom.DocType.
- An XML DOCTYPE declaration.
- DocType() - Constructor for class org.jdom.DocType
- Default, no-args constructor for implementations to use if needed.
- DocType(String, String, String) - Constructor for class org.jdom.DocType
- This will create the
DocTypewith the specified element name and a reference to an external DTD. - DocType(String, String) - Constructor for class org.jdom.DocType
- This will create the
DocTypewith the specified element name and reference to an external DTD. - DocType(String) - Constructor for class org.jdom.DocType
- This will create the
DocTypewith the specified element name - Document - class org.jdom.Document.
- An XML document.
- Document() - Constructor for class org.jdom.Document
- Creates a new empty document.
- Document(Element, DocType, String) - Constructor for class org.jdom.Document
- This will create a new
Document, with the suppliedElementas the root element, the suppliedDocTypedeclaration, and the specified base URI. - Document(Element, DocType) - Constructor for class org.jdom.Document
- This will create a new
Document, with the suppliedElementas the root element and the suppliedDocTypedeclaration. - Document(Element) - Constructor for class org.jdom.Document
- This will create a new
Document, with the suppliedElementas the root element, and noDocTypedeclaration. - Document(List) - Constructor for class org.jdom.Document
- This will create a new
Document, with the supplied list of content, and aDocTypedeclaration only if the content contains a DocType instance. - detach() - Method in class org.jdom.Attribute
- This detaches the
Attributefrom its parent, or does nothing if theAttributehas no parent. - detach() - Method in class org.jdom.Content
- Detaches this child from its parent or does nothing if the child has no parent.
- detachRootElement() - Method in class org.jdom.Document
- Detach the root
Elementfrom this document. - docType(String, String, String) - Method in class org.jdom.DefaultJDOMFactory
- docType(String, String) - Method in class org.jdom.DefaultJDOMFactory
- docType(String) - Method in class org.jdom.DefaultJDOMFactory
- docType(String, String, String) - Method in interface org.jdom.JDOMFactory
- This will create the
DocTypewith the specified element name and a reference to an external DTD. - docType(String, String) - Method in interface org.jdom.JDOMFactory
- This will create the
DocTypewith the specified element name and reference to an external DTD. - docType(String) - Method in interface org.jdom.JDOMFactory
- This will create the
DocTypewith the specified element name - docType(String, String, String) - Method in class org.jdom.UncheckedJDOMFactory
- docType(String, String) - Method in class org.jdom.UncheckedJDOMFactory
- docType(String) - Method in class org.jdom.UncheckedJDOMFactory
- document(Element, DocType) - Method in class org.jdom.DefaultJDOMFactory
- document(Element, DocType, String) - Method in class org.jdom.DefaultJDOMFactory
- document(Element) - Method in class org.jdom.DefaultJDOMFactory
- document(Element, DocType) - Method in interface org.jdom.JDOMFactory
- This will create a new
Document, with the suppliedElementas the root element and the suppliedDocTypedeclaration. - document(Element, DocType, String) - Method in interface org.jdom.JDOMFactory
- This will create a new
Document, with the suppliedElementas the root element and the suppliedDocTypedeclaration. - document(Element) - Method in interface org.jdom.JDOMFactory
- This will create a new
Document, with the suppliedElementas the root element, and noDocTypedeclaration. - document(Element, DocType, String) - Method in class org.jdom.UncheckedJDOMFactory
- document(Element, DocType) - Method in class org.jdom.UncheckedJDOMFactory
- document(Element) - Method in class org.jdom.UncheckedJDOMFactory
- documentCanContain(int, Content) - Method in class org.jdom.ContentList
E
- EMPTY_STRING - Static variable in class org.jdom.Text
- ENTITIES_TYPE - Static variable in class org.jdom.Attribute
- Attribute type: the attribute value is a list of entity names.
- ENTITY_TYPE - Static variable in class org.jdom.Attribute
- Attribute type: the attribute value is the name of an entity.
- ENUMERATED_TYPE - Static variable in class org.jdom.Attribute
- Attribute type: the attribute value is a name token from an enumeration.
- Element - class org.jdom.Element.
- An XML element.
- Element() - Constructor for class org.jdom.Element
- This protected constructor is provided in order to support an Element subclass that wants full control over variable initialization.
- Element(String, Namespace) - Constructor for class org.jdom.Element
- Creates a new element with the supplied (local) name and namespace.
- Element(String) - Constructor for class org.jdom.Element
- Create a new element with the supplied (local) name and no namespace.
- Element(String, String) - Constructor for class org.jdom.Element
- Creates a new element with the supplied (local) name and a namespace given by a URI.
- Element(String, String, String) - Constructor for class org.jdom.Element
- Creates a new element with the supplied (local) name and a namespace given by the supplied prefix and URI combination.
- EntityRef - class org.jdom.EntityRef.
- An XML entity reference.
- EntityRef() - Constructor for class org.jdom.EntityRef
- Default, no-args constructor for implementations to use if needed.
- EntityRef(String) - Constructor for class org.jdom.EntityRef
- This will create a new
EntityRefwith the supplied name. - EntityRef(String, String) - Constructor for class org.jdom.EntityRef
- This will create a new
EntityRefwith the supplied name and system id. - EntityRef(String, String, String) - Constructor for class org.jdom.EntityRef
- This will create a new
EntityRefwith the supplied name, public id, and system id. - element(String, Namespace) - Method in class org.jdom.DefaultJDOMFactory
- element(String) - Method in class org.jdom.DefaultJDOMFactory
- element(String, String) - Method in class org.jdom.DefaultJDOMFactory
- element(String, String, String) - Method in class org.jdom.DefaultJDOMFactory
- element(String, Namespace) - Method in interface org.jdom.JDOMFactory
- This will create a new
Elementwith the supplied (local) name, and define theNamespaceto be used. - element(String) - Method in interface org.jdom.JDOMFactory
- This will create an
Elementin noNamespace. - element(String, String) - Method in interface org.jdom.JDOMFactory
- This will create a new
Elementwith the supplied (local) name, and specifies the URI of theNamespacetheElementshould be in, resulting it being unprefixed (in the default namespace). - element(String, String, String) - Method in interface org.jdom.JDOMFactory
- This will create a new
Elementwith the supplied (local) name, and specifies the prefix and URI of theNamespacetheElementshould be in. - element(String, Namespace) - Method in class org.jdom.UncheckedJDOMFactory
- element(String) - Method in class org.jdom.UncheckedJDOMFactory
- element(String, String) - Method in class org.jdom.UncheckedJDOMFactory
- element(String, String, String) - Method in class org.jdom.UncheckedJDOMFactory
- elementCanContain(int, Content) - Static method in class org.jdom.ContentList
- elementData - Variable in class org.jdom.AttributeList
- The backing list
- elementData - Variable in class org.jdom.ContentList
- Our backing list
- elementName - Variable in class org.jdom.DocType
- The element being constrained
- ensureCapacity(int) - Method in class org.jdom.AttributeList
- Increases the capacity of this
AttributeListinstance, if necessary, to ensure that it can hold at least the number of items specified by the minimum capacity argument. - ensureCapacity(int) - Method in class org.jdom.ContentList
- Increases the capacity of this
ContentListinstance, if necessary, to ensure that it can hold at least the number of items specified by the minimum capacity argument. - entityRef(String) - Method in class org.jdom.DefaultJDOMFactory
- entityRef(String, String, String) - Method in class org.jdom.DefaultJDOMFactory
- entityRef(String, String) - Method in class org.jdom.DefaultJDOMFactory
- entityRef(String) - Method in interface org.jdom.JDOMFactory
- This will create a new
EntityRefwith the supplied name. - entityRef(String, String, String) - Method in interface org.jdom.JDOMFactory
- This will create a new
EntityRefwith the supplied name, public ID, and system ID. - entityRef(String, String) - Method in interface org.jdom.JDOMFactory
- This will create a new
EntityRefwith the supplied name and system ID. - entityRef(String) - Method in class org.jdom.UncheckedJDOMFactory
- entityRef(String, String) - Method in class org.jdom.UncheckedJDOMFactory
- entityRef(String, String, String) - Method in class org.jdom.UncheckedJDOMFactory
- equals(Object) - Method in class org.jdom.Attribute
- This tests for equality of this
Attributeto the suppliedObject. - equals(Object) - Method in class org.jdom.Content
- This tests for equality of this Content object to the supplied object.
- equals(Object) - Method in class org.jdom.Document
- This tests for equality of this
Documentto the suppliedObject. - equals(Object) - Method in class org.jdom.Namespace
- This tests for equality - Two
Namespacesare equal if and only if their URIs are byte-for-byte equals. - expected - Variable in class org.jdom.ContentList.FilterList
- Expected modCount in our backing list
- expected - Variable in class org.jdom.ContentList.FilterListIterator
- Expected modCount in our backing list
- extractQuotedString(String) - Static method in class org.jdom.ProcessingInstruction
- This is a helper routine, only used by parseData, to extract a quoted String from the input parameter, rawData.
F
- FilterIterator - class org.jdom.FilterIterator.
- Traverse a parent's children that match the supplied filter.
- FilterIterator(Iterator, Filter) - Constructor for class org.jdom.FilterIterator
- filter - Variable in class org.jdom.ContentList.FilterList
- The Filter
- filter - Variable in class org.jdom.ContentList.FilterListIterator
- The Filter that applies
- filter - Variable in class org.jdom.FilterIterator
G
- get(int) - Method in class org.jdom.AttributeList
- Return the object at the specified offset.
- get(String, Namespace) - Method in class org.jdom.AttributeList
- Return the
Attributewith the given name andNamespace. - get(int) - Method in class org.jdom.ContentList.FilterList
- Return the object at the specified offset.
- get(int) - Method in class org.jdom.ContentList
- Return the object at the specified offset.
- getAdditionalNamespaces() - Method in class org.jdom.Element
- Returns a list of the additional namespace declarations on this element.
- getAdjustedIndex(int) - Method in class org.jdom.ContentList.FilterList
- Return the adjusted index
- getAttribute(String) - Method in class org.jdom.Element
- This returns the attribute for this element with the given name and within no namespace, or null if no such attribute exists.
- getAttribute(String, Namespace) - Method in class org.jdom.Element
- This returns the attribute for this element with the given name and within the given Namespace, or null if no such attribute exists.
- getAttributeType() - Method in class org.jdom.Attribute
- This will return the actual declared type of this
Attribute. - getAttributeValue(String) - Method in class org.jdom.Element
- This returns the attribute value for the attribute with the given name and within no namespace, null if there is no such attribute, and the empty string if the attribute value is empty.
- getAttributeValue(String, String) - Method in class org.jdom.Element
- This returns the attribute value for the attribute with the given name and within no namespace, or the passed-in default if there is no such attribute.
- getAttributeValue(String, Namespace) - Method in class org.jdom.Element
- This returns the attribute value for the attribute with the given name and within the given Namespace, null if there is no such attribute, and the empty string if the attribute value is empty.
- getAttributeValue(String, Namespace, String) - Method in class org.jdom.Element
- This returns the attribute value for the attribute with the given name and within the given Namespace, or the passed-in default if there is no such attribute.
- getAttributes() - Method in class org.jdom.Element
-
This returns the complete set of attributes for this element, as a
ListofAttributeobjects in no particular order, or an empty list if there are none. - getBaseURI() - Method in class org.jdom.Document
- Returns the URI from which this document was loaded, or null if this is not known.
- getBooleanValue() - Method in class org.jdom.Attribute
- This gets the effective boolean value of the attribute, or throws a
DataConversionExceptionif a conversion can't be performed. - getCause() - Method in class org.jdom.JDOMException
- This will return the root cause
Throwable, or null if one does not exist. - getChild(String, Namespace) - Method in class org.jdom.Element
- This returns the first child element within this element with the given local name and belonging to the given namespace.
- getChild(String) - Method in class org.jdom.Element
- This returns the first child element within this element with the given local name and belonging to no namespace.
- getChildText(String) - Method in class org.jdom.Element
- Returns the textual content of the named child element, or null if there's no such child.
- getChildText(String, Namespace) - Method in class org.jdom.Element
- Returns the textual content of the named child element, or null if there's no such child.
- getChildTextNormalize(String) - Method in class org.jdom.Element
- Returns the normalized textual content of the named child element, or null if there's no such child.
- getChildTextNormalize(String, Namespace) - Method in class org.jdom.Element
- Returns the normalized textual content of the named child element, or null if there's no such child.
- getChildTextTrim(String) - Method in class org.jdom.Element
- Returns the trimmed textual content of the named child element, or null if there's no such child.
- getChildTextTrim(String, Namespace) - Method in class org.jdom.Element
- Returns the trimmed textual content of the named child element, or null if there's no such child.
- getChildren() - Method in class org.jdom.Element
- This returns a
Listof all the child elements nested directly (one level deep) within this element, asElementobjects. - getChildren(String) - Method in class org.jdom.Element
- This returns a
Listof all the child elements nested directly (one level deep) within this element with the given local name and belonging to no namespace, returned asElementobjects. - getChildren(String, Namespace) - Method in class org.jdom.Element
- This returns a
Listof all the child elements nested directly (one level deep) within this element with the given local name and belonging to the given Namespace, returned asElementobjects. - getContent(int) - Method in class org.jdom.Document
- getContent() - Method in class org.jdom.Document
- This will return all content for the
Document. - getContent(Filter) - Method in class org.jdom.Document
- Return a filtered view of this
Document's content. - getContent() - Method in class org.jdom.Element
- This returns the full content of the element as a List which
may contain objects of type
Text,Element,Comment,ProcessingInstruction,CDATA, andEntityRef. - getContent(Filter) - Method in class org.jdom.Element
- Return a filter view of this
Element's content. - getContent(int) - Method in class org.jdom.Element
- getContent(int) - Method in interface org.jdom.Parent
- Returns the child at the given index.
- getContent() - Method in interface org.jdom.Parent
- Returns the full content of this parent as a java.util.List which contains objects of type Content.
- getContent(Filter) - Method in interface org.jdom.Parent
- Returns as a java.util.List the content of this parent that matches the supplied filter.
- getContentSize() - Method in class org.jdom.Document
- getContentSize() - Method in class org.jdom.Element
- getContentSize() - Method in interface org.jdom.Parent
- Returns the number of children in this parent's content list.
- getData() - Method in class org.jdom.ProcessingInstruction
- This will return the raw data from all instructions.
- getDescendants() - Method in class org.jdom.Document
- Returns an iterator that walks over all descendants in document order.
- getDescendants(Filter) - Method in class org.jdom.Document
- Returns an iterator that walks over all descendants in document order applying the Filter to return only elements that match the filter rule.
- getDescendants() - Method in class org.jdom.Element
- Returns an iterator that walks over all descendants in document order.
- getDescendants(Filter) - Method in class org.jdom.Element
- Returns an iterator that walks over all descendants in document order applying the Filter to return only elements that match the filter rule.
- getDescendants() - Method in interface org.jdom.Parent
- Returns an java.util.Iterator that walks over all descendants in document order.
- getDescendants(Filter) - Method in interface org.jdom.Parent
- Returns an java.util.Iterator that walks over all descendants in document order applying the Filter to return only elements that match the filter rule.
- getDocType() - Method in class org.jdom.Document
- This will return the
DocTypedeclaration for thisDocument, ornullif none exists. - getDocument() - Method in class org.jdom.Attribute
- This retrieves the owning
Documentfor this Attribute, or null if not a currently a member of aDocument. - getDocument() - Method in class org.jdom.Content
- Return this child's owning document or null if the branch containing this child is currently not attached to a document.
- getDocument() - Method in class org.jdom.Document
- getDocument() - Method in interface org.jdom.Parent
- Return this parent's owning document or null if the branch containing this parent is currently not attached to a document.
- getDoubleValue() - Method in class org.jdom.Attribute
- This gets the value of the attribute, in
doubleform, and if no conversion can occur, throws aDataConversionException - getElementName() - Method in class org.jdom.DocType
- This will retrieve the element name being constrained.
- getFloatValue() - Method in class org.jdom.Attribute
- This gets the value of the attribute, in
floatform, and if no conversion can occur, throws aDataConversionException - getIntValue() - Method in class org.jdom.Attribute
- This gets the value of the attribute, in
intform, and if no conversion can occur, throws aDataConversionException - getInternalSubset() - Method in class org.jdom.DocType
- This returns the data for the internal subset.
- getLongValue() - Method in class org.jdom.Attribute
- This gets the value of the attribute, in
longform, and if no conversion can occur, throws aDataConversionException - getMessage() - Method in class org.jdom.JDOMException
- This returns the message for the
Exception. - getModCount() - Method in class org.jdom.ContentList
- Give access of ContentList.modCount to FilterList
- getName() - Method in class org.jdom.Attribute
- This will retrieve the local name of the
Attribute. - getName() - Method in class org.jdom.Element
- Returns the (local) name of the element (without any namespace prefix).
- getName() - Method in class org.jdom.EntityRef
- This returns the name of the
EntityRef. - getNamespace() - Method in class org.jdom.Attribute
- This will return this
Attribute'sNamespace. - getNamespace() - Method in class org.jdom.Element
- Returns the element's Namespace.
- getNamespace(String) - Method in class org.jdom.Element
- Returns the Namespace corresponding to the given prefix in scope for this element.
- getNamespace(String, String) - Static method in class org.jdom.Namespace
- This will retrieve (if in existence) or create (if not) a
Namespacefor the supplied prefix and URI. - getNamespace(String) - Static method in class org.jdom.Namespace
- This will retrieve (if in existence) or create (if not) a
Namespacefor the supplied URI, and make it usable as a default namespace, as no prefix is supplied. - getNamespacePrefix() - Method in class org.jdom.Attribute
- This will retrieve the namespace prefix of the
Attribute. - getNamespacePrefix() - Method in class org.jdom.Element
- Returns the namespace prefix of the element or an empty string if none exists.
- getNamespaceURI() - Method in class org.jdom.Attribute
- This returns the URI mapped to this
Attribute's prefix. - getNamespaceURI() - Method in class org.jdom.Element
- Returns the namespace URI mapped to this element's prefix (or the in-scope default namespace URI if no prefix).
- getNestedException(Throwable) - Static method in class org.jdom.JDOMException
- getNestedException(Throwable, String, String) - Static method in class org.jdom.JDOMException
- getParent() - Method in class org.jdom.Attribute
- This will return the parent of this
Attribute. - getParent() - Method in class org.jdom.Content
- Return this child's parent, or null if this child is currently not attached.
- getParent() - Method in class org.jdom.Document
- getParent() - Method in interface org.jdom.Parent
- Return this parent's parent, or null if this parent is currently not attached to another parent.
- getParentElement() - Method in class org.jdom.Content
- A convenience method that returns any parent element for this element, or null if the element is unattached or is a root element.
- getPrefix() - Method in class org.jdom.Namespace
- This returns the prefix mapped to this
Namespace. - getProperty(String) - Method in class org.jdom.Document
- Returns the object associated with this document under the given "id" string, or null if there is no binding or if the binding explicitly stored a null value.
- getPseudoAttributeNames() - Method in class org.jdom.ProcessingInstruction
- This will return a
Listcontaining the names of the "attribute" style pieces of name/value pairs in this PI's data. - getPseudoAttributeValue(String) - Method in class org.jdom.ProcessingInstruction
- This will return the value for a specific name/value pair on the PI.
- getPublicID() - Method in class org.jdom.DocType
- This will retrieve the public ID of an externally
referenced DTD, or an empty
Stringif none is referenced. - getPublicID() - Method in class org.jdom.EntityRef
- This will return the publid ID of this
EntityRef. - getQualifiedName() - Method in class org.jdom.Attribute
- This will retrieve the qualified name of the
Attribute. - getQualifiedName() - Method in class org.jdom.Element
- Returns the full name of the element, in the form [namespacePrefix]:[localName].
- getRootElement() - Method in class org.jdom.Document
- This will return the root
Elementfor thisDocument - getSystemID() - Method in class org.jdom.DocType
- This will retrieve the system ID of an externally
referenced DTD, or an empty
Stringif none is referenced. - getSystemID() - Method in class org.jdom.EntityRef
- This will return the system ID of this
EntityRef. - getTarget() - Method in class org.jdom.ProcessingInstruction
- This will retrieve the target of the PI.
- getText() - Method in class org.jdom.Comment
- This returns the textual data within the
Comment. - getText() - Method in class org.jdom.Element
- Returns the textual content directly held under this element as a string.
- getText() - Method in class org.jdom.Text
- This returns the value of this
Textnode as a JavaString. - getTextNormalize() - Method in class org.jdom.Element
- Returns the textual content of this element with all surrounding whitespace removed and internal whitespace normalized to a single space.
- getTextNormalize() - Method in class org.jdom.Text
- This returns the textual content with all surrounding whitespace removed and internal whitespace normalized to a single space.
- getTextTrim() - Method in class org.jdom.Element
- Returns the textual content of this element with all surrounding whitespace removed.
- getTextTrim() - Method in class org.jdom.Text
- This returns the textual content with all surrounding whitespace removed.
- getURI() - Method in class org.jdom.Namespace
- This returns the namespace URI for this
Namespace. - getValue() - Method in class org.jdom.Attribute
- This will return the actual textual value of this
Attribute. - getValue() - Method in class org.jdom.Comment
- Returns the XPath 1.0 string value of this element, which is the text of this comment.
- getValue() - Method in class org.jdom.Content
- Returns the XPath 1.0 string value of this child.
- getValue() - Method in class org.jdom.DocType
- Returns the empty string since doctypes don't have an XPath 1.0 string value.
- getValue() - Method in class org.jdom.Element
- Returns the XPath 1.0 string value of this element, which is the complete, ordered content of all text node descendants of this element (i.e. the text that's left after all references are resolved and all other markup is stripped out.)
- getValue() - Method in class org.jdom.EntityRef
- Returns the empty string since entity references don't have an XPath 1.0 string value.
- getValue() - Method in class org.jdom.ProcessingInstruction
- Returns the XPath 1.0 string value of this element, which is the data of this PI.
- getValue() - Method in class org.jdom.Text
- Returns the XPath 1.0 string value of this element, which is the text itself.
- getView(Filter) - Method in class org.jdom.ContentList
- Return a view of this list based on the given filter.
H
- HASNEXT - Static variable in class org.jdom.ContentList
- HASPREV - Static variable in class org.jdom.ContentList
- hasNext() - Method in class org.jdom.ContentList.FilterListIterator
- Returns
trueif this list iterator has a next element. - hasNext() - Method in class org.jdom.DescendantIterator
- Returns true> if the iteration has more Content descendants.
- hasNext() - Method in class org.jdom.FilterIterator
- hasPrevious() - Method in class org.jdom.ContentList.FilterListIterator
- Returns
trueif this list iterator has more elements when traversing the list in the reverse direction. - hasRootElement() - Method in class org.jdom.Document
- This will return
trueif this document has a root element,falseotherwise. - hashCode() - Method in class org.jdom.Attribute
- This returns the hash code for this
Attribute. - hashCode() - Method in class org.jdom.Content
- This returns the hash code for this
Contentitem. - hashCode() - Method in class org.jdom.Document
- This returns the hash code for this
Document. - hashCode() - Method in class org.jdom.Namespace
- This returns a probably unique hash code for the
Namespace.
I
- IDREFS_TYPE - Static variable in class org.jdom.Attribute
- Attribute type: the attribute value is a list of references to unique identifiers.
- IDREF_TYPE - Static variable in class org.jdom.Attribute
- Attribute type: the attribute value is a reference to a unique identifier.
- ID_TYPE - Static variable in class org.jdom.Attribute
- Attribute type: the attribute value is a unique identifier.
- INITIAL_ARRAY_SIZE - Static variable in class org.jdom.AttributeList
- INITIAL_ARRAY_SIZE - Static variable in class org.jdom.ContentList
- INITIAL_ARRAY_SIZE - Static variable in class org.jdom.Element
- IllegalAddException - exception org.jdom.IllegalAddException.
- Thrown when trying to add a illegal object to a JDOM construct.
- IllegalAddException(Element, Attribute, String) - Constructor for class org.jdom.IllegalAddException
- This will create an
Exceptionindicating that the addition of theAttributeto theElementis illegal. - IllegalAddException(Element, Element, String) - Constructor for class org.jdom.IllegalAddException
- This will create an
Exceptionindicating that the addition of theElementto parent is illegal. - IllegalAddException(Element, String) - Constructor for class org.jdom.IllegalAddException
- This will create an
Exceptionindicating that the addition of theElementto theDocumentis illegal. - IllegalAddException(Element, ProcessingInstruction, String) - Constructor for class org.jdom.IllegalAddException
- This will create an
Exceptionindicating that the addition of theProcessingInstructionto theElementis illegal. - IllegalAddException(ProcessingInstruction, String) - Constructor for class org.jdom.IllegalAddException
- This will create an
Exceptionindicating that the addition of theProcessingInstructionto theDocumentis illegal. - IllegalAddException(Element, Comment, String) - Constructor for class org.jdom.IllegalAddException
- This will create an
Exceptionindicating that the addition of theCommentto theElementis illegal. - IllegalAddException(Element, CDATA, String) - Constructor for class org.jdom.IllegalAddException
- This will create an
Exceptionindicating that the addition of theCDATA - IllegalAddException(Element, Text, String) - Constructor for class org.jdom.IllegalAddException
- This will create an
Exceptionindicating that the addition of theTextto theElementis illegal. - IllegalAddException(Comment, String) - Constructor for class org.jdom.IllegalAddException
- This will create an
Exceptionindicating that the addition of theCommentto theDocumentis illegal. - IllegalAddException(Element, EntityRef, String) - Constructor for class org.jdom.IllegalAddException
- This will create an
Exceptionindicating that the addition of theEntityRefto theElementis illegal. - IllegalAddException(Element, Namespace, String) - Constructor for class org.jdom.IllegalAddException
- This will create an
Exceptionindicating that the addition of theNamespaceto theElementis illegal. - IllegalAddException(DocType, String) - Constructor for class org.jdom.IllegalAddException
- This will create an
Exceptionindicating that the addition of theDocTypeto theDocumentis illegal. - IllegalAddException(String) - Constructor for class org.jdom.IllegalAddException
- This will create an
Exceptionwith the specified error message. - IllegalDataException - exception org.jdom.IllegalDataException.
- Thrown when illegal text is supplied to a JDOM construct.
- IllegalDataException(String, String, String) - Constructor for class org.jdom.IllegalDataException
- This will create an
Exceptionindicating that the specified data is illegal for the construct it was supplied to. - IllegalDataException(String, String) - Constructor for class org.jdom.IllegalDataException
- This will create an
Exceptionindicating that the specified data is illegal for the construct it was supplied to. - IllegalDataException(String) - Constructor for class org.jdom.IllegalDataException
- This will create an exceptoin with the specified error message.
- IllegalNameException - exception org.jdom.IllegalNameException.
- Thrown when a name is supplied in construction of a JDOM construct whose where the name breaks XML naming conventions.
- IllegalNameException(String, String, String) - Constructor for class org.jdom.IllegalNameException
- This will create an
Exceptionindicating that the specified name is illegal for the construct it was supplied to. - IllegalNameException(String, String) - Constructor for class org.jdom.IllegalNameException
- This will create an
Exceptionindicating that the specified name is illegal for the construct it was supplied to. - IllegalNameException(String) - Constructor for class org.jdom.IllegalNameException
- Creates an exception with the specified error message.
- IllegalTargetException - exception org.jdom.IllegalTargetException.
- Thrown when a target is supplied in construction of a JDOM ProcessingInstruction, and that name breaks XML naming conventions.
- IllegalTargetException(String, String) - Constructor for class org.jdom.IllegalTargetException
- This will create an
Exceptionindicating that the specified target is illegal for theProcessingInstructionit was supplied to. - IllegalTargetException(String) - Constructor for class org.jdom.IllegalTargetException
- Creates an exception with the specified error message.
- indexOf(String, Namespace) - Method in class org.jdom.AttributeList
- Return index of the
Attributewith the given name and uri. - indexOf(Content) - Method in class org.jdom.Document
- indexOf(Content) - Method in class org.jdom.Element
- indexOf(Content) - Method in interface org.jdom.Parent
- Returns the index of the supplied child in the content list, or -1 if not a child of this parent.
- indexOfDocType() - Method in class org.jdom.ContentList
- Return the index of the DocType element in the list.
- indexOfDuplicate(Attribute) - Method in class org.jdom.AttributeList
- Return index of attribute with same name and Namespace, or -1 if one doesn't exist
- indexOfFirstElement() - Method in class org.jdom.ContentList
- Return the index of the first Element in the list.
- initCause(Throwable) - Method in class org.jdom.JDOMException
- Intializes the cause of this exception to be the specified value.
- initialCursor - Variable in class org.jdom.ContentList.FilterListIterator
- Initial start index in backing list
- initializeCursor(int) - Method in class org.jdom.ContentList.FilterListIterator
- Returns index in the backing list by moving forward start objects that match our filter.
- internalSubset - Variable in class org.jdom.DocType
- The internal subset of the DOCTYPE
- isAncestor(Element) - Method in class org.jdom.Element
- Determines if this element is the ancestor of another element.
- isHexDigit(char) - Static method in class org.jdom.Verifier
- isRootElement() - Method in class org.jdom.Element
- Returns whether this element is a root element.
- isURICharacter(char) - Static method in class org.jdom.Verifier
- This is a utility functio