A B C D E F G H I J M N O P R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
G
- getAdditionalNamespaces() - Method in class org.jdom.Element
-
Returns a list of the additional namespace declarations on this element.
- 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.
- getAttributes() - Method in class org.jdom.Element
-
This returns the complete set of attributes for this element, as a
List
ofAttribute
objects in no particular order, or an empty list if there are none. - 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.
- 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
if a conversion can't be performed.DataConversionException
- getCause() - Method in exception org.jdom.JDOMException
-
This will return the root cause
Throwable
, or null if one does not exist. - 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.
- 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.
- getChildren() - Method in class org.jdom.Element
-
This returns a
List
of all the child elements nested directly (one level deep) within this element, asElement
objects. - getChildren(String) - Method in class org.jdom.Element
-
This returns a
List
of all the child elements nested directly (one level deep) within this element with the given local name and belonging to no namespace, returned asElement
objects. - getChildren(String, Namespace) - Method in class org.jdom.Element
-
This returns a
List
of all the child elements nested directly (one level deep) within this element with the given local name and belonging to the given Namespace, returned asElement
objects. - 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.
- getColumnNumber() - Method in exception org.jdom.input.JDOMParseException
-
Returns the column number of the end of the text where the parse error occurred.
- getCompactFormat() - Static method in class org.jdom.output.Format
-
Returns a new Format object that performs whitespace normalization, uses the UTF-8 encoding, doesn't expand empty elements, includes the declaration and encoding, and uses the default entity escape strategy.
- getContent() - Method in class org.jdom.Document
-
This will return all content for the
Document
. - 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() - Method in interface org.jdom.Parent
-
Returns the full content of this parent as a
List
which contains objects of typeContent
. - getContent(int) - Method in class org.jdom.Document
- getContent(int) - Method in class org.jdom.Element
- getContent(int) - Method in interface org.jdom.Parent
-
Returns the child at the given index.
- getContent(Filter) - Method in class org.jdom.Document
-
Return a filtered view of this
Document
's content. - getContent(Filter) - Method in class org.jdom.Element
-
Return a filter view of this
Element
's content. - getContent(Filter) - Method in interface org.jdom.Parent
-
Returns as a
List
the content of this parent that matches the supplied filter. - getContentHandler() - Method in class org.jdom.output.SAXOutputter
-
Returns the registered
ContentHandler
. - 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.
- getCurrentElement() - Method in class org.jdom.input.SAXHandler
-
Returns the being-parsed element.
- getData() - Method in class org.jdom.ProcessingInstruction
-
This will return the raw data from all instructions.
- getDeclHandler() - Method in class org.jdom.output.SAXOutputter
-
Return the registered
DeclHandler
. - getDescendants() - Method in class org.jdom.Document
-
Returns an iterator that walks over all descendants in document order.
- getDescendants() - Method in class org.jdom.Element
-
Returns an iterator that walks over all descendants in document order.
- getDescendants() - Method in interface org.jdom.Parent
-
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(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(Filter) - Method in interface org.jdom.Parent
-
Returns an
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
- getDocument() - Method in class org.jdom.Attribute
- 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 class org.jdom.input.SAXHandler
-
Returns the 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.
- getDocument() - Method in class org.jdom.transform.JDOMResult
-
Returns the result of an XSL Transformation as a JDOM document.
- getDocument() - Method in class org.jdom.transform.JDOMSource
-
Returns the source document used by this TrAX source.
- getDocument(File, boolean) - Method in class org.jdom.adapters.AbstractDOMAdapter
-
This creates a new
from an existingDocument
InputStream
by letting a DOM parser handle parsing using the supplied stream. - getDocument(File, boolean) - Method in interface org.jdom.adapters.DOMAdapter
-
This creates a new
Document
from a given filename by letting a DOM parser handle parsing from the file. - getDocument(InputStream, boolean) - Method in class org.jdom.adapters.AbstractDOMAdapter
-
This creates a new
from an existingDocument
InputStream
by letting a DOM parser handle parsing using the supplied stream. - getDocument(InputStream, boolean) - Method in class org.jdom.adapters.CrimsonDOMAdapter
-
This creates a new
from an existingDocument
InputStream
by letting a DOM parser handle parsing using the supplied stream. - getDocument(InputStream, boolean) - Method in interface org.jdom.adapters.DOMAdapter
-
This creates a new
Document
from an existingInputStream
by letting a DOM parser handle parsing using the supplied stream. - getDocument(InputStream, boolean) - Method in class org.jdom.adapters.JAXPDOMAdapter
-
This creates a new
from an existingDocument
InputStream
by letting a JAXP parser handle parsing using the supplied stream. - getDocument(InputStream, boolean) - Method in class org.jdom.adapters.OracleV1DOMAdapter
-
This creates a new
from an existingDocument
InputStream
by letting a DOM parser handle parsing using the supplied stream. - getDocument(InputStream, boolean) - Method in class org.jdom.adapters.OracleV2DOMAdapter
-
This creates a new
from an existingDocument
InputStream
by letting a DOM parser handle parsing using the supplied stream. - getDocument(InputStream, boolean) - Method in class org.jdom.adapters.XercesDOMAdapter
-
This creates a new
from an existingDocument
InputStream
by letting a DOM parser handle parsing using the supplied stream. - getDocument(InputStream, boolean) - Method in class org.jdom.adapters.XML4JDOMAdapter
-
This creates a new
from an existingDocument
InputStream
by letting a DOM parser handle parsing using the supplied stream. - getDocumentLocator() - Method in class org.jdom.input.SAXHandler
-
Provides access to the
Locator
object provided by the SAX parser. - getDoubleValue() - Method in class org.jdom.Attribute
-
This gets the value of the attribute, in
double
form, and if no conversion can occur, throws aDataConversionException
- getDriverClass() - Method in class org.jdom.input.SAXBuilder
-
Returns the driver class assigned in the constructor, or null if none.
- getDTDHandler() - Method in class org.jdom.input.SAXBuilder
-
Returns the
DTDHandler
assigned, or null if none. - getDTDHandler() - Method in class org.jdom.output.SAXOutputter
-
Return the registered
DTDHandler
. - getElementName() - Method in class org.jdom.DocType
-
This will retrieve the element name being constrained.
- getEncoding() - Method in class org.jdom.output.Format
-
Returns the configured output encoding.
- getEntityResolver() - Method in class org.jdom.input.SAXBuilder
-
Returns the
EntityResolver
assigned, or null if none. - getEntityResolver() - Method in class org.jdom.output.SAXOutputter
-
Return the registered
EntityResolver
. - getErrorHandler() - Method in class org.jdom.input.SAXBuilder
-
Returns the
ErrorHandler
assigned, or null if none. - getErrorHandler() - Method in class org.jdom.output.SAXOutputter
-
Return the registered
ErrorHandler
. - getEscapeStrategy() - Method in class org.jdom.output.Format
-
Returns the current escape strategy
- getExpandEmptyElements() - Method in class org.jdom.output.Format
-
Returns whether empty elements are expanded.
- getExpandEntities() - Method in class org.jdom.input.SAXBuilder
-
Returns whether or not entities are being expanded into normal text content.
- getExpandEntities() - Method in class org.jdom.input.SAXHandler
-
Returns whether or not entities will be expanded during the build.
- getFactory() - Method in class org.jdom.input.DOMBuilder
-
Returns the current
JDOMFactory
in use. - getFactory() - Method in class org.jdom.input.SAXBuilder
-
Returns the current
JDOMFactory
in use. - getFactory() - Method in class org.jdom.input.SAXHandler
-
Returns the factory used for constructing objects.
- getFactory() - Method in class org.jdom.transform.JDOMResult
-
Returns the custom JDOMFactory used to build the transformation result.
- getFactory() - Method in class org.jdom.transform.XSLTransformer
-
Returns the custom JDOMFactory used to build the transformation result.
- getFeature(String) - Method in class org.jdom.output.SAXOutputter
-
This will look up the value of a SAX feature.
- getFilterMask() - Method in class org.jdom.filter.ContentFilter
-
Return current filtering mask.
- getFloatValue() - Method in class org.jdom.Attribute
-
This gets the value of the attribute, in
float
form, and if no conversion can occur, throws aDataConversionException
- getForceNamespaceAware() - Method in class org.jdom.output.DOMOutputter
-
Returns whether DOMs will be constructed with namespaces even when the source document has elements all in the empty namespace.
- getFormat() - Method in class org.jdom.output.XMLOutputter
-
Returns the current format in use by the outputter.
- getIgnoreTrAXEscapingPIs() - Method in class org.jdom.output.Format
-
Returns whether JAXP TrAX processing instructions for disabling/enabling output escaping are ignored.
- getIgnoringBoundaryWhitespace() - Method in class org.jdom.input.SAXBuilder
-
Returns whether or not the parser will elminate element content containing only whitespace.
- getIgnoringBoundaryWhitespace() - Method in class org.jdom.input.SAXHandler
-
Returns whether or not the parser will elminate element content containing only whitespace.
- getIgnoringElementContentWhitespace() - Method in class org.jdom.input.SAXBuilder
-
Returns whether element content whitespace is to be ignored during the build.
- getIgnoringElementContentWhitespace() - Method in class org.jdom.input.SAXHandler
-
Returns whether or not the parser will elminate whitespace in element content (sometimes known as "ignorable whitespace") when building the document.
- getIndent() - Method in class org.jdom.output.Format
-
Returns the indent string in use.
- getInternalSubset() - Method in class org.jdom.DocType
-
This returns the data for the internal subset.
- getIntValue() - Method in class org.jdom.Attribute
-
This gets the value of the attribute, in
int
form, and if no conversion can occur, throws aDataConversionException
- getLexicalHandler() - Method in class org.jdom.output.SAXOutputter
-
Return the registered
LexicalHandler
. - getLineNumber() - Method in exception org.jdom.input.JDOMParseException
-
Returns the line number of the end of the text where the parse error occurred.
- getLineSeparator() - Method in class org.jdom.output.Format
-
Returns the current line separator.
- getLocator() - Method in class org.jdom.output.SAXOutputter
-
Returns a JDOMLocator object referencing the node currently being processed by this outputter.
- getLongValue() - Method in class org.jdom.Attribute
-
This gets the value of the attribute, in
long
form, and if no conversion can occur, throws aDataConversionException
- getMessage() - Method in exception org.jdom.JDOMException
-
This returns the message for the
Exception
. - 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
's
.Namespace
- 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) - Static method in class org.jdom.Namespace
-
This will retrieve (if in existence) or create (if not) a
Namespace
for the supplied URI, and make it usable as a default namespace, as no prefix is supplied. - getNamespace(String, String) - Static method in class org.jdom.Namespace
-
This will retrieve (if in existence) or create (if not) a
Namespace
for the supplied prefix and URI. - 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).
- getNode() - Method in class org.jdom.output.JDOMLocator
-
Returns the JDOM node being processed by SAXOutputter.
- getNodes() - Method in class org.jdom.transform.JDOMSource
-
Returns the source node list used by this TrAX source.
- getOmitDeclaration() - Method in class org.jdom.output.Format
-
Returns whether the XML declaration will be omitted.
- getOmitEncoding() - Method in class org.jdom.output.Format
-
Returns whether the XML declaration encoding will be omitted.
- 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.
- getPartialDocument() - Method in exception org.jdom.input.JDOMParseException
-
Returns the partial document that was successfully built before the error occurred.
- getPrefix() - Method in class org.jdom.Namespace
-
This returns the prefix mapped to this
Namespace
. - getPrettyFormat() - Static method in class org.jdom.output.Format
-
Returns a new Format object that performs whitespace beautification with 2-space indents, uses the UTF-8 encoding, doesn't expand empty elements, includes the declaration and encoding, and uses the default entity escape strategy.
- 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.
- getProperty(String) - Method in class org.jdom.output.SAXOutputter
-
This will look up the value of a SAX property.
- getPseudoAttributeNames() - Method in class org.jdom.ProcessingInstruction
-
This will return a
List
containing 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 exception org.jdom.input.JDOMParseException
-
Returns the public identifier of the entity where the parse error occurred.
- getPublicID() - Method in class org.jdom.DocType
-
This will retrieve the public ID of an externally referenced DTD, or an empty
String
if 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].
- getRawFormat() - Static method in class org.jdom.output.Format
-
Returns a new Format object that performs no whitespace changes, uses the UTF-8 encoding, doesn't expand empty elements, includes the declaration and encoding, and uses the default entity escape strategy.
- getReportDTDEvents() - Method in class org.jdom.output.SAXOutputter
-
Returns whether DTD events will be reported.
- getReportNamespaceDeclarations() - Method in class org.jdom.output.SAXOutputter
-
Returns whether attribute namespace declarations shall be reported as "xmlns" attributes.
- getResult() - Method in class org.jdom.transform.JDOMResult
-
Returns the result of an XSL Transformation as a list of JDOM nodes.
- getReuseParser() - Method in class org.jdom.input.SAXBuilder
-
Returns whether the contained SAX parser instance is reused across multiple parses.
- getRootElement() - Method in class org.jdom.Document
-
This will return the root
Element
for thisDocument
- getSystemId() - Method in exception org.jdom.input.JDOMParseException
-
Returns the system identifier of the entity where the parse error occurred.
- getSystemID() - Method in class org.jdom.DocType
-
This will retrieve the system ID of an externally referenced DTD, or an empty
String
if 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
Text
node as a JavaString
. - getTextMode() - Method in class org.jdom.output.Format
-
Returns the current text output style.
- 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
. - getValidation() - Method in class org.jdom.input.SAXBuilder
-
Returns whether validation is to be performed during the build.
- 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.
- getXMLFilter() - Method in class org.jdom.input.SAXBuilder
-
Returns the
XMLFilter
used during parsing, or null if none. - getXMLReader() - Method in class org.jdom.transform.JDOMSource
-
Returns the XMLReader to be used for the Source.
- getXPath() - Method in class org.jdom.xpath.XPath
-
Returns the wrapped XPath expression as a string.
All Classes All Packages