Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- get(int) - Method in class org.jdom2.output.support.AbstractFormattedWalker
-
Get the content at a position in the input content.
- get(String, String) - Static method in class org.jdom2.internal.SystemProperty
-
Query the System properties for a particular property.
- getAdditionalNamespaces() - Method in class org.jdom2.Element
-
Returns a list of the additional namespace declarations on this element.
- getAllNamespacesForURI(String) - Method in class org.jdom2.util.NamespaceStack
-
Get all prefixes in the current scope that are bound to the specified URI.
- getAttribute(String) - Method in class org.jdom2.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.jdom2.Element
-
This returns the attribute for this element with the given name and within the given Namespace, or null if no such attribute exists.
- getAttributeCount() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getAttributeLocalName(int) - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getAttributeName(int) - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getAttributeNamespace(int) - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getAttributePrefix(int) - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getAttributes() - Method in class org.jdom2.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. - getAttributesSize() - Method in class org.jdom2.Element
-
Get the number of Attributes currently attached to this Element.
- getAttributeType() - Method in class org.jdom2.Attribute
-
This will return the declared type of this
Attribute
. - getAttributeType(int) - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getAttributeType(String) - Static method in enum class org.jdom2.AttributeType
-
Returns the the JDOM AttributeType value from the SAX 2.0 attribute type string provided by the parser.
- getAttributeValue(int) - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getAttributeValue(String) - Method in class org.jdom2.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.jdom2.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, String) - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getAttributeValue(String, Namespace) - Method in class org.jdom2.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.jdom2.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.jdom2.Document
-
Returns the URI from which this document was loaded, or null if this is not known.
- getBooleanValue() - Method in class org.jdom2.Attribute
-
This gets the effective boolean value of the attribute, or throws a
if a conversion can't be performed.DataConversionException
- getCharacterEncodingScheme() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getChild(String) - Method in class org.jdom2.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.jdom2.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.jdom2.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.jdom2.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.jdom2.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.jdom2.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.jdom2.Element
-
Returns the textual content of the named child element, or null if there's no such child.
- getChildTextNormalize(String) - Method in class org.jdom2.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.jdom2.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.jdom2.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.jdom2.Element
-
Returns the trimmed textual content of the named child element, or null if there's no such child.
- getColumn() - Method in interface org.jdom2.located.Located
-
Get the column (character on the line).
- getColumn() - Method in class org.jdom2.located.LocatedCDATA
- getColumn() - Method in class org.jdom2.located.LocatedComment
- getColumn() - Method in class org.jdom2.located.LocatedDocType
- getColumn() - Method in class org.jdom2.located.LocatedElement
- getColumn() - Method in class org.jdom2.located.LocatedEntityRef
- getColumn() - Method in class org.jdom2.located.LocatedProcessingInstruction
- getColumn() - Method in class org.jdom2.located.LocatedText
- getColumnNumber() - Method in exception class org.jdom2.input.JDOMParseException
-
Returns the column number of the end of the text where the parse error occurred.
- getColumnNumber() - Method in class org.jdom2.output.support.SAXTarget.SAXLocator
- getCompactFormat() - Static method in class org.jdom2.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.jdom2.Document
-
This will return all content for the
Document
. - getContent() - Method in class org.jdom2.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.jdom2.Parent
- getContent(int) - Method in class org.jdom2.Document
- getContent(int) - Method in class org.jdom2.Element
- getContent(int) - Method in interface org.jdom2.Parent
-
Returns the child at the given index.
- getContent(Filter<E>) - Method in class org.jdom2.Element
-
Return a filter view of this
Element
's content. - getContent(Filter<E>) - Method in interface org.jdom2.Parent
-
Returns as a
List
the content of this parent that matches the supplied filter. - getContent(Filter<F>) - Method in class org.jdom2.Document
-
Return a filtered view of this
Document
's content. - getContentHandler() - Method in class org.jdom2.output.SAXOutputter
-
Returns the registered
ContentHandler
. - getContentHandler() - Method in class org.jdom2.output.support.SAXTarget
- getContentSize() - Method in class org.jdom2.Document
- getContentSize() - Method in class org.jdom2.Element
- getContentSize() - Method in interface org.jdom2.Parent
-
Returns the number of children in this parent's content list.
- getCType() - Method in class org.jdom2.Content
-
All content has an enumerated type expressing the type of content.
- getCurrentElement() - Method in class org.jdom2.input.sax.SAXHandler
-
Returns the being-parsed element.
- getData() - Method in class org.jdom2.ProcessingInstruction
-
This will return the raw data from all instructions.
- getDeclHandler() - Method in class org.jdom2.output.SAXOutputter
-
Return the registered
DeclHandler
. - getDeclHandler() - Method in class org.jdom2.output.support.SAXTarget
- getDefaultMode() - Method in class org.jdom2.output.support.FormatStack
- getDescendants() - Method in class org.jdom2.Document
-
Returns an iterator that walks over all descendants in document order.
- getDescendants() - Method in class org.jdom2.Element
-
Returns an iterator that walks over all descendants in document order.
- getDescendants() - Method in interface org.jdom2.Parent
-
Returns an
Iterator
that walks over all descendants in document order. - getDescendants(Filter<E>) - Method in interface org.jdom2.Parent
-
Returns an
Iterator
that walks over all descendants in document order applying the Filter to return only content that match the filter rule. - getDescendants(Filter<F>) - Method in class org.jdom2.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<F>) - Method in class org.jdom2.Element
-
Returns an iterator that walks over all descendants in document order applying the Filter to return only content that match the filter rule.
- getDocType() - Method in class org.jdom2.Document
- getDocument() - Method in class org.jdom2.Attribute
-
Get this Attribute's Document.
- getDocument() - Method in class org.jdom2.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.jdom2.Document
-
Always returns this Document Instance
- getDocument() - Method in class org.jdom2.input.sax.SAXHandler
-
Returns the document.
- getDocument() - Method in class org.jdom2.input.StAXStreamWriter
-
Gets the
Document
that was created by this writer. - getDocument() - Method in interface org.jdom2.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.jdom2.transform.JDOMResult
-
Returns the result of an XSL Transformation as a JDOM document.
- getDocument() - Method in class org.jdom2.transform.JDOMSource
-
Returns the source document used by this TrAX source.
- getDocumentLocator() - Method in class org.jdom2.input.sax.SAXHandler
-
Provides access to the
Locator
object provided by the SAX parser. - getDOMAdapter() - Method in class org.jdom2.output.DOMOutputter
-
Get the DOMAdapter currently set for this DOMOutputter.
- getDOMOutputProcessor() - Method in class org.jdom2.output.DOMOutputter
-
Get the current DOMOutputProcessor
- getDoubleValue() - Method in class org.jdom2.Attribute
-
This gets the value of the attribute, in
double
form, and if no conversion can occur, throws aDataConversionException
- getDriverClass() - Method in class org.jdom2.input.SAXBuilder
-
Deprecated.
- getDriverClassName() - Method in class org.jdom2.input.sax.XMLReaderSAX2Factory
-
Get the SAX Driver class name used to bootstrap XMLReaders.
- getDTDHandler() - Method in class org.jdom2.input.sax.SAXBuilderEngine
- getDTDHandler() - Method in interface org.jdom2.input.sax.SAXEngine
-
Returns the
DTDHandler
assigned, or null if none. - getDTDHandler() - Method in class org.jdom2.input.SAXBuilder
-
Returns the
DTDHandler
assigned, or null if the assignedSAXHandler
will be used for DTD SAX events. - getDTDHandler() - Method in class org.jdom2.output.SAXOutputter
-
Return the registered
DTDHandler
. - getDTDHandler() - Method in class org.jdom2.output.support.SAXTarget
- getElementName() - Method in class org.jdom2.DocType
-
This will retrieve the element name being constrained.
- getElementText() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getEncoding() - Method in class org.jdom2.output.Format
-
Returns the configured output encoding.
- getEncoding() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getEncoding() - Method in class org.jdom2.output.support.FormatStack
- getEntityResolver() - Method in class org.jdom2.input.sax.SAXBuilderEngine
- getEntityResolver() - Method in interface org.jdom2.input.sax.SAXEngine
-
Returns the
EntityResolver
assigned, or null if none. - getEntityResolver() - Method in class org.jdom2.input.SAXBuilder
-
Returns the
EntityResolver
assigned, or null if none. - getEntityResolver() - Method in class org.jdom2.output.SAXOutputter
-
Return the registered
EntityResolver
. - getEntityResolver() - Method in class org.jdom2.output.support.SAXTarget
- getErrorHandler() - Method in class org.jdom2.input.sax.SAXBuilderEngine
- getErrorHandler() - Method in interface org.jdom2.input.sax.SAXEngine
-
Returns the
ErrorHandler
assigned, or null if none. - getErrorHandler() - Method in class org.jdom2.input.SAXBuilder
-
Returns the
ErrorHandler
assigned, or null if none. - getErrorHandler() - Method in class org.jdom2.output.SAXOutputter
-
Return the registered
ErrorHandler
. - getErrorHandler() - Method in class org.jdom2.output.support.SAXTarget
- getEscapeOutput() - Method in class org.jdom2.output.support.FormatStack
-
The escapeOutput flag can be set or unset.
- getEscapeStrategy() - Method in class org.jdom2.output.Format
-
Returns the current escape strategy
- getEscapeStrategy() - Method in class org.jdom2.output.support.FormatStack
- getEventFactory() - Method in class org.jdom2.output.StAXEventOutputter
- getEventType() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getExpandEmptyElements() - Method in class org.jdom2.output.Format
-
Returns whether empty elements are expanded.
- getExpandEntities() - Method in class org.jdom2.input.sax.SAXBuilderEngine
- getExpandEntities() - Method in interface org.jdom2.input.sax.SAXEngine
-
Returns whether or not entities are being expanded into normal text content.
- getExpandEntities() - Method in class org.jdom2.input.sax.SAXHandler
-
Returns whether or not entities will be expanded during the build.
- getExpandEntities() - Method in class org.jdom2.input.SAXBuilder
-
Returns whether or not entities are being expanded into normal text content.
- getFactory() - Method in class org.jdom2.input.DOMBuilder
-
Returns the current
JDOMFactory
in use. - getFactory() - Method in class org.jdom2.input.sax.SAXHandler
-
Returns the factory used for constructing objects.
- getFactory() - Method in class org.jdom2.input.SAXBuilder
-
Deprecated.as it is replaced by
SAXBuilder.getJDOMFactory()
- getFactory() - Method in class org.jdom2.input.StAXEventBuilder
-
Returns the current
JDOMFactory
in use. - getFactory() - Method in class org.jdom2.input.StAXStreamBuilder
-
Returns the current
JDOMFactory
in use. - getFactory() - Method in class org.jdom2.transform.JDOMResult
-
Returns the custom JDOMFactory used to build the transformation result.
- getFactory() - Method in class org.jdom2.transform.XSLTransformer
-
Returns the custom JDOMFactory used to build the transformation result.
- getFeature(String) - Method in class org.jdom2.output.SAXOutputter
-
This will look up the value of a SAX feature.
- getFilterMask() - Method in class org.jdom2.filter.ContentFilter
-
Return current filtering mask.
- getFirstNamespaceForURI(String) - Method in class org.jdom2.util.NamespaceStack
-
Get the first Namespace in the current scope that is bound to the specified URI.
- getFloatValue() - Method in class org.jdom2.Attribute
-
This gets the value of the attribute, in
float
form, and if no conversion can occur, throws aDataConversionException
- getForceNamespaceAware() - Method in class org.jdom2.output.DOMOutputter
-
Deprecated.All DOMOutputters are always NamesapceAware. Always true.
- getFormat() - Method in class org.jdom2.output.DOMOutputter
-
Get the Format instance currently used by this DOMOutputter.
- getFormat() - Method in class org.jdom2.output.SAXOutputter
-
Get the current
Format
being used for output - getFormat() - Method in class org.jdom2.output.StAXEventOutputter
-
Returns the current format in use by the StAXStreamOutputter.
- getFormat() - Method in class org.jdom2.output.StAXStreamOutputter
-
Returns the current format in use by the StAXStreamOutputter.
- getFormat() - Method in class org.jdom2.output.StAXStreamReader
-
Returns the current format in use by the XMLOutputter.
- getFormat() - Method in class org.jdom2.output.XMLOutputter
-
Returns the current format in use by the XMLOutputter.
- getIgnoreTrAXEscapingPIs() - Method in class org.jdom2.output.Format
-
Returns whether JAXP TrAX processing instructions for disabling/enabling output escaping are ignored.
- getIgnoringBoundaryWhitespace() - Method in class org.jdom2.input.sax.SAXBuilderEngine
- getIgnoringBoundaryWhitespace() - Method in interface org.jdom2.input.sax.SAXEngine
-
Returns whether or not the parser will eliminate element content containing only whitespace.
- getIgnoringBoundaryWhitespace() - Method in class org.jdom2.input.sax.SAXHandler
-
Returns whether or not the parser will eliminate element content containing only whitespace.
- getIgnoringBoundaryWhitespace() - Method in class org.jdom2.input.SAXBuilder
-
Returns whether or not the parser will eliminate element content containing only whitespace.
- getIgnoringElementContentWhitespace() - Method in class org.jdom2.input.sax.SAXBuilderEngine
- getIgnoringElementContentWhitespace() - Method in interface org.jdom2.input.sax.SAXEngine
-
Returns whether element content whitespace is to be ignored during the build.
- getIgnoringElementContentWhitespace() - Method in class org.jdom2.input.sax.SAXHandler
-
Returns whether or not the parser will eliminate whitespace in element content (sometimes known as "ignorable whitespace") when building the document.
- getIgnoringElementContentWhitespace() - Method in class org.jdom2.input.SAXBuilder
-
Returns whether element content whitespace is to be ignored during the build.
- getIndent() - Method in class org.jdom2.output.Format
-
Returns the indent string in use.
- getIndent() - Method in class org.jdom2.output.support.FormatStack
- getInternalSubset() - Method in class org.jdom2.DocType
-
This returns the data for the internal subset.
- getIntValue() - Method in class org.jdom2.Attribute
-
This gets the value of the attribute, in
int
form, and if no conversion can occur, throws aDataConversionException
- getJDOMFactory() - Method in class org.jdom2.input.sax.SAXBuilderEngine
- getJDOMFactory() - Method in interface org.jdom2.input.sax.SAXEngine
-
Returns the current
JDOMFactory
in use. - getJDOMFactory() - Method in class org.jdom2.input.SAXBuilder
-
Returns the current
JDOMFactory
in use. - getLevelEOL() - Method in class org.jdom2.output.support.FormatStack
- getLevelIndent() - Method in class org.jdom2.output.support.FormatStack
- getLexicalHandler() - Method in class org.jdom2.output.SAXOutputter
-
Return the registered
LexicalHandler
. - getLexicalHandler() - Method in class org.jdom2.output.support.SAXTarget
- getLine() - Method in interface org.jdom2.located.Located
-
Get the line number
- getLine() - Method in class org.jdom2.located.LocatedCDATA
- getLine() - Method in class org.jdom2.located.LocatedComment
- getLine() - Method in class org.jdom2.located.LocatedDocType
- getLine() - Method in class org.jdom2.located.LocatedElement
- getLine() - Method in class org.jdom2.located.LocatedEntityRef
- getLine() - Method in class org.jdom2.located.LocatedProcessingInstruction
- getLine() - Method in class org.jdom2.located.LocatedText
- getLineNumber() - Method in exception class org.jdom2.input.JDOMParseException
-
Returns the line number of the end of the text where the parse error occurred.
- getLineNumber() - Method in class org.jdom2.output.support.SAXTarget.SAXLocator
- getLineSeparator() - Method in class org.jdom2.output.Format
-
Returns the current line separator.
- getLineSeparator() - Method in class org.jdom2.output.support.FormatStack
- getLocalName() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getLocation() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getLocator() - Method in class org.jdom2.output.SAXOutputter
-
Deprecated.there is no way to get a meaningful document Locator outside of an active output process, and the contents of the locator are meaningless outside of an active output process anyway.
- getLocator() - Method in class org.jdom2.output.support.SAXTarget
- getLongValue() - Method in class org.jdom2.Attribute
-
This gets the value of the attribute, in
long
form, and if no conversion can occur, throws aDataConversionException
- getName() - Method in class org.jdom2.Attribute
-
This will retrieve the local name of the
Attribute
. - getName() - Method in class org.jdom2.Element
-
Returns the (local) name of the element (without any namespace prefix).
- getName() - Method in class org.jdom2.EntityRef
-
This returns the name of the
EntityRef
. - getName() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getNamespace() - Method in class org.jdom2.Attribute
-
This will return this
Attribute
's
.Namespace
- getNamespace() - Method in class org.jdom2.Element
-
Returns the element's
Namespace
. - getNamespace(String) - Method in class org.jdom2.Element
-
Returns the
Namespace
corresponding to the given prefix in scope for this element. - getNamespace(String) - Static method in class org.jdom2.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.jdom2.Namespace
-
This will retrieve (if in existence) or create (if not) a
Namespace
for the supplied prefix and uri. - getNamespaceContext() - Method in class org.jdom2.input.StAXStreamWriter
- getNamespaceContext() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getNamespaceCount() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getNamespaceForPrefix(String) - Method in class org.jdom2.util.NamespaceStack
-
Get the Namespace in the current scope with the specified prefix.
- getNamespacePrefix() - Method in class org.jdom2.Attribute
-
This will retrieve the namespace prefix of the
Attribute
. - getNamespacePrefix() - Method in class org.jdom2.Element
-
Returns the namespace prefix of the element or an empty string if none exists.
- getNamespacePrefix(int) - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getNamespacesInherited() - Method in class org.jdom2.Attribute
- getNamespacesInherited() - Method in class org.jdom2.Content
- getNamespacesInherited() - Method in class org.jdom2.Document
- getNamespacesInherited() - Method in class org.jdom2.Element
- getNamespacesInherited() - Method in interface org.jdom2.NamespaceAware
-
Obtain a list of all namespaces that are in scope for this content, but were not introduced by this content.
- getNamespacesInScope() - Method in class org.jdom2.Attribute
-
Get the namespaces that are in-scope on this Attribute.
- getNamespacesInScope() - Method in class org.jdom2.Content
- getNamespacesInScope() - Method in class org.jdom2.Document
-
Get the Namespaces that are in-scope on this Document.
- getNamespacesInScope() - Method in class org.jdom2.Element
-
Get the Namespaces that are in-scope on this Element.
- getNamespacesInScope() - Method in interface org.jdom2.NamespaceAware
-
Obtain a list of all namespaces that are in scope for the current content.
- getNamespacesIntroduced() - Method in class org.jdom2.Attribute
- getNamespacesIntroduced() - Method in class org.jdom2.Content
- getNamespacesIntroduced() - Method in class org.jdom2.Document
- getNamespacesIntroduced() - Method in class org.jdom2.Element
- getNamespacesIntroduced() - Method in interface org.jdom2.NamespaceAware
-
Obtain a list of all namespaces that are introduced to the XML tree by this node.
- getNamespaceURI() - Method in class org.jdom2.Attribute
-
This returns the URI mapped to this
Attribute
's prefix. - getNamespaceURI() - Method in class org.jdom2.Element
-
Returns the namespace URI mapped to this element's prefix (or the in-scope default namespace URI if no prefix).
- getNamespaceURI() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getNamespaceURI(int) - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getNamespaceURI(String) - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getNamespaceURI(String) - Method in class org.jdom2.util.JDOMNamespaceContext
- getNode() - Method in interface org.jdom2.output.JDOMLocator
-
Returns the JDOM node being processed by SAXOutputter.
- getNode() - Method in class org.jdom2.output.support.SAXTarget.SAXLocator
- getNodes() - Method in class org.jdom2.transform.JDOMSource
-
Returns the source node list used by this TrAX source.
- getOmitDeclaration() - Method in class org.jdom2.output.Format
-
Returns whether the XML declaration will be omitted.
- getOmitEncoding() - Method in class org.jdom2.output.Format
-
Returns whether the XML declaration encoding will be omitted.
- getPadBetween() - Method in class org.jdom2.output.support.FormatStack
-
Get the end-of-line indenting sequence for before the first item in an Element, as well as between subsequent items (but not after the last item)
- getPadLast() - Method in class org.jdom2.output.support.FormatStack
-
Get the end-of-line indenting sequence for after the last item in an Element
- getParent() - Method in class org.jdom2.Attribute
-
This will return the parent of this
Attribute
. - getParent() - Method in class org.jdom2.Content
-
Return this child's parent, or null if this child is currently not attached.
- getParent() - Method in class org.jdom2.DocType
- getParent() - Method in class org.jdom2.Document
-
Always returns null, Document cannot have a parent.
- getParent() - Method in class org.jdom2.EntityRef
- getParent() - Method in interface org.jdom2.Parent
-
Return this parent's parent, or null if this parent is currently not attached to another parent.
- getParent() - Method in class org.jdom2.Text
- getParentElement() - Method in class org.jdom2.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 class org.jdom2.input.JDOMParseException
-
Returns the partial document that was successfully built before the error occurred.
- getPIData() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getPITarget() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getPrefix() - Method in class org.jdom2.Namespace
-
This returns the prefix mapped to this
Namespace
. - getPrefix() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getPrefix(String) - Method in class org.jdom2.input.StAXStreamWriter
- getPrefix(String) - Method in class org.jdom2.util.JDOMNamespaceContext
- getPrefixes(String) - Method in class org.jdom2.util.JDOMNamespaceContext
- getPrettyFormat() - Static method in class org.jdom2.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.jdom2.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.jdom2.input.StAXStreamWriter
- getProperty(String) - Method in class org.jdom2.output.SAXOutputter
-
This will look up the value of a SAX property.
- getProperty(String) - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getPseudoAttributeNames() - Method in class org.jdom2.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.jdom2.ProcessingInstruction
-
This will return the value for a specific name/value pair on the PI.
- getPublicId() - Method in exception class org.jdom2.input.JDOMParseException
-
Returns the public identifier of the entity where the parse error occurred.
- getPublicId() - Method in class org.jdom2.output.support.SAXTarget.SAXLocator
- getPublicID() - Method in class org.jdom2.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.jdom2.EntityRef
-
This will return the publid ID of this
EntityRef
. - getQualifiedName() - Method in class org.jdom2.Attribute
-
This will retrieve the qualified name of the
Attribute
. - getQualifiedName() - Method in class org.jdom2.Element
-
Returns the full name of the element, in the form [namespacePrefix]:[localName].
- getRawFormat() - Static method in class org.jdom2.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.
- getRebound(String) - Method in class org.jdom2.util.NamespaceStack
-
If the specified prefix was bound in the previous bind level, and has been rebound to a different URI in the current level, then return the Namespace the the prefix was bound to before.
- getReportDTDEvents() - Method in class org.jdom2.output.SAXOutputter
-
Returns whether DTD events will be reported.
- getReportNamespaceDeclarations() - Method in class org.jdom2.output.SAXOutputter
-
Returns whether attribute namespace declarations shall be reported as "xmlns" attributes.
- getResult() - Method in class org.jdom2.transform.JDOMResult
-
Returns the result of an XSL Transformation as a list of JDOM nodes.
- getReuseParser() - Method in class org.jdom2.input.SAXBuilder
-
Returns whether the contained SAX parser instance is reused across multiple parses.
- getRootElement() - Method in class org.jdom2.Document
-
This will return the root
Element
for thisDocument
- getSAXHandlerFactory() - Method in class org.jdom2.input.SAXBuilder
-
Get the SAXHandlerFactory used to supply SAXHandlers to this SAXBuilder.
- getSAXOutputProcessor() - Method in class org.jdom2.output.SAXOutputter
-
Get the current
SAXOutputProcessor
being used for output. - getSchemaFactory() - Method in interface org.jdom2.input.sax.AbstractReaderXSDFactory.SchemaFactoryProvider
-
Return a SchemaFactory
- getScope() - Method in class org.jdom2.util.NamespaceStack
-
Return a new array instance representing the current scope.
- getStAXAsStreamProcessor() - Method in class org.jdom2.output.StAXStreamReader
-
Returns the current XMLOutputProcessor instance in use by the StAXStreamReader.
- getStAXStream() - Method in class org.jdom2.output.StAXEventOutputter
-
Returns the current XMLOutputProcessor instance in use by the StAXStreamOutputter.
- getStAXStream() - Method in class org.jdom2.output.StAXStreamOutputter
-
Returns the current XMLOutputProcessor instance in use by the StAXStreamOutputter.
- getSystemId() - Method in exception class org.jdom2.input.JDOMParseException
-
Returns the system identifier of the entity where the parse error occurred.
- getSystemId() - Method in class org.jdom2.output.support.SAXTarget.SAXLocator
- getSystemID() - Method in class org.jdom2.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.jdom2.EntityRef
-
This will return the system ID of this
EntityRef
. - getTarget() - Method in class org.jdom2.ProcessingInstruction
-
This will retrieve the target of the PI.
- getText() - Method in class org.jdom2.Comment
-
This returns the textual data within the
Comment
. - getText() - Method in class org.jdom2.Element
-
Returns the textual content directly held under this element as a string.
- getText() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getText() - Method in class org.jdom2.Text
-
This returns the value of this
Text
node as a JavaString
. - getTextCharacters() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getTextCharacters(int, char[], int, int) - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getTextLength() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getTextMode() - Method in class org.jdom2.output.Format
-
Returns the current text output style.
- getTextMode() - Method in class org.jdom2.output.support.FormatStack
- getTextNormalize() - Method in class org.jdom2.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.jdom2.Text
-
This returns the textual content with all surrounding whitespace removed and internal whitespace normalized to a single space.
- getTextStart() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getTextTrim() - Method in class org.jdom2.Element
-
Returns the textual content of this element with all surrounding whitespace removed.
- getTextTrim() - Method in class org.jdom2.Text
-
This returns the textual content with all surrounding whitespace removed.
- getURI() - Method in class org.jdom2.Namespace
-
This returns the namespace URI for this
Namespace
. - getValidation() - Method in class org.jdom2.input.SAXBuilder
-
Deprecated.in lieu of
SAXBuilder.isValidating()
- getValue() - Method in class org.jdom2.Attribute
-
This will return the actual textual value of this
Attribute
. - getValue() - Method in class org.jdom2.Comment
-
Returns the XPath 1.0 string value of this element, which is the text of this comment.
- getValue() - Method in class org.jdom2.Content
-
Returns the XPath 1.0 string value of this child.
- getValue() - Method in class org.jdom2.DocType
-
Returns the empty string since doctypes don't have an XPath 1.0 string value.
- getValue() - Method in class org.jdom2.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.jdom2.EntityRef
-
Returns the empty string since entity references don't have an XPath 1.0 string value.
- getValue() - Method in class org.jdom2.ProcessingInstruction
-
Returns the XPath 1.0 string value of this element, which is the data of this PI.
- getValue() - Method in class org.jdom2.Text
-
Returns the XPath 1.0 string value of this element, which is the text itself.
- getVersion() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
- getXMLBaseURI() - Method in class org.jdom2.Element
-
Calculate the XMLBase URI for this Element using the rules defined in the XMLBase specification, as well as the values supplied in the xml:base attributes on this Element and its ancestry.
- getXMLFilter() - Method in class org.jdom2.input.SAXBuilder
-
Returns the
XMLFilter
used during parsing, or null if none. - getXMLOutputProcessor() - Method in class org.jdom2.output.XMLOutputter
-
Returns the current XMLOutputProcessor instance in use by the XMLOutputter.
- getXMLReader() - Method in class org.jdom2.transform.JDOMSource
-
Returns the XMLReader to be used for the Source.
- getXMLReaderFactory() - Method in class org.jdom2.input.SAXBuilder
-
Get the current XMLReader factory.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
XMLReaderSAX2Factory
instance.