- SAXBuilder - Class in org.jdom.input
-
Builds a JDOM document from files, streams, readers, URLs, or a SAX InputSource
instance using a SAX parser.
- SAXBuilder() - Constructor for class org.jdom.input.SAXBuilder
-
Creates a new SAXBuilder which will attempt to first locate
a parser via JAXP, then will try to use a set of default
SAX Drivers.
- SAXBuilder(boolean) - Constructor for class org.jdom.input.SAXBuilder
-
Creates a new SAXBuilder which will attempt to first locate
a parser via JAXP, then will try to use a set of default
SAX Drivers.
- SAXBuilder(String) - Constructor for class org.jdom.input.SAXBuilder
-
Creates a new SAXBuilder using the specified SAX parser.
- SAXBuilder(String, boolean) - Constructor for class org.jdom.input.SAXBuilder
-
Creates a new SAXBuilder using the specified SAX parser.
- SAXHandler - Class in org.jdom.input
-
- SAXHandler() - Constructor for class org.jdom.input.SAXHandler
-
This will create a new SAXHandler
that listens to SAX
events and creates a JDOM Document.
- SAXHandler(JDOMFactory) - Constructor for class org.jdom.input.SAXHandler
-
This will create a new SAXHandler
that listens to SAX
events and creates a JDOM Document.
- SAXOutputter - Class in org.jdom.output
-
Outputs a JDOM document as a stream of SAX2 events.
- SAXOutputter() - Constructor for class org.jdom.output.SAXOutputter
-
This will create a SAXOutputter
without any
registered handler.
- SAXOutputter(ContentHandler) - Constructor for class org.jdom.output.SAXOutputter
-
This will create a SAXOutputter
with the
specified ContentHandler
.
- SAXOutputter(ContentHandler, ErrorHandler, DTDHandler, EntityResolver) - Constructor for class org.jdom.output.SAXOutputter
-
This will create a SAXOutputter
with the
specified SAX2 handlers.
- SAXOutputter(ContentHandler, ErrorHandler, DTDHandler, EntityResolver, LexicalHandler) - Constructor for class org.jdom.output.SAXOutputter
-
This will create a SAXOutputter
with the
specified SAX2 handlers.
- selectNodes(Object) - Method in class org.jdom.xpath.XPath
-
Evaluates the wrapped XPath expression and returns the list
of selected items.
- selectNodes(Object, String) - Static method in class org.jdom.xpath.XPath
-
Evaluates an XPath expression and returns the list of selected
items.
- selectSingleNode(Object) - Method in class org.jdom.xpath.XPath
-
Evaluates the wrapped XPath expression and returns the first
entry in the list of selected nodes (or atomics).
- selectSingleNode(Object, String) - Static method in class org.jdom.xpath.XPath
-
Evaluates the wrapped XPath expression and returns the first
entry in the list of selected nodes (or atomics).
- setAttribute(Element, Attribute) - Method in class org.jdom.DefaultJDOMFactory
-
- setAttribute(String, String) - Method in class org.jdom.Element
-
This sets an attribute value for this element.
- setAttribute(String, String, Namespace) - Method in class org.jdom.Element
-
This sets an attribute value for this element.
- setAttribute(Attribute) - Method in class org.jdom.Element
-
This sets an attribute value for this element.
- setAttribute(Element, Attribute) - Method in interface org.jdom.JDOMFactory
-
- setAttribute(Element, Attribute) - Method in class org.jdom.UncheckedJDOMFactory
-
- setAttributes(Collection) - Method in class org.jdom.Element
-
This sets the attributes of the element.
- setAttributes(List) - Method in class org.jdom.Element
-
This sets the attributes of the element.
- setAttributeType(int) - Method in class org.jdom.Attribute
-
This will set the type of the Attribute
.
- setBaseURI(String) - Method in class org.jdom.Document
-
Sets the effective URI from which this document was loaded,
and against which relative URLs in this document will be resolved.
- setCDATAVisible(boolean) - Method in class org.jdom.filter.ContentFilter
-
Set visiblity of CDATA
objects.
- setCommentVisible(boolean) - Method in class org.jdom.filter.ContentFilter
-
Set visiblity of Comment
objects.
- setContent(Collection) - Method in class org.jdom.Document
-
This sets the content of the Document
.
- setContent(int, Content) - Method in class org.jdom.Document
-
- setContent(int, Collection) - Method in class org.jdom.Document
-
Replace the child at the given index whith the supplied
collection.
- setContent(Content) - Method in class org.jdom.Document
-
Set this document's content to be the supplied child.
- setContent(Collection) - Method in class org.jdom.Element
-
This sets the content of the element.
- setContent(int, Content) - Method in class org.jdom.Element
-
Replace the current child the given index with the supplied child.
- setContent(int, Collection) - Method in class org.jdom.Element
-
Replace the child at the given index whith the supplied
collection.
- setContent(Content) - Method in class org.jdom.Element
-
Set this element's content to be the supplied child.
- setContentHandler(ContentHandler) - Method in class org.jdom.output.SAXOutputter
-
This will set the ContentHandler
.
- setData(String) - Method in class org.jdom.ProcessingInstruction
-
This will set the raw data for the PI.
- setData(Map) - Method in class org.jdom.ProcessingInstruction
-
This will set the name/value pairs within the passed
Map
as the pairs for the data of
this PI.
- setDeclHandler(DeclHandler) - Method in class org.jdom.output.SAXOutputter
-
This will set the DeclHandler
.
- setDefaultMask() - Method in class org.jdom.filter.ContentFilter
-
Set this filter to allow all legal JDOM objects.
- setDocType(DocType) - Method in class org.jdom.Document
-
This will set the
DocType
declaration for this
Document
.
- setDocTypeVisible(boolean) - Method in class org.jdom.filter.ContentFilter
-
Set visiblity of DocType
objects.
- setDocument(Document) - Method in class org.jdom.transform.JDOMResult
-
Sets the document produced as result of an XSL Transformation.
- setDocument(Document) - Method in class org.jdom.transform.JDOMSource
-
Sets the source document used by this TrAX source.
- setDocumentContent() - Method in class org.jdom.filter.ContentFilter
-
Set filter to match only JDOM objects that are legal
document content.
- setDocumentLocator(Locator) - Method in class org.jdom.input.SAXHandler
-
Receives an object for locating the origin of SAX document
events.
- setDTDHandler(DTDHandler) - Method in class org.jdom.input.SAXBuilder
-
This sets custom DTDHandler for the Builder
.
- setDTDHandler(DTDHandler) - Method in class org.jdom.output.SAXOutputter
-
This will set the DTDHandler
.
- setElementContent() - Method in class org.jdom.filter.ContentFilter
-
Set filter to match only JDOM objects that are legal
element content.
- setElementName(String) - Method in class org.jdom.DocType
-
This will set the root element name declared by this
DOCTYPE declaration.
- setElementVisible(boolean) - Method in class org.jdom.filter.ContentFilter
-
Set visiblity of Element
objects.
- setEncoding(String) - Method in class org.jdom.output.Format
-
Sets the output encoding.
- setEntityRefVisible(boolean) - Method in class org.jdom.filter.ContentFilter
-
Set visiblity of EntityRef
objects.
- setEntityResolver(EntityResolver) - Method in class org.jdom.input.SAXBuilder
-
This sets custom EntityResolver for the Builder
.
- setEntityResolver(EntityResolver) - Method in class org.jdom.output.SAXOutputter
-
This will set the EntityResolver
.
- setErrorHandler(ErrorHandler) - Method in class org.jdom.input.SAXBuilder
-
This sets custom ErrorHandler for the Builder
.
- setErrorHandler(ErrorHandler) - Method in class org.jdom.output.SAXOutputter
-
This will set the ErrorHandler
.
- setEscapeStrategy(EscapeStrategy) - Method in class org.jdom.output.Format
-
- setExpandEmptyElements(boolean) - Method in class org.jdom.output.Format
-
This will set whether empty elements are expanded from
<tagName/>
to
<tagName></tagName>
.
- setExpandEntities(boolean) - Method in class org.jdom.input.SAXBuilder
-
This sets whether or not to expand entities for the builder.
- setExpandEntities(boolean) - Method in class org.jdom.input.SAXHandler
-
This sets whether or not to expand entities during the build.
- setFactory(JDOMFactory) - Method in class org.jdom.input.DOMBuilder
-
- setFactory(JDOMFactory) - Method in class org.jdom.input.SAXBuilder
-
This sets a custom JDOMFactory for the builder.
- setFactory(JDOMFactory) - Method in class org.jdom.transform.JDOMResult
-
Sets a custom JDOMFactory to use when building the
transformation result.
- setFactory(JDOMFactory) - Method in class org.jdom.transform.XSLTransformer
-
Sets a custom JDOMFactory to use when building the
transformation result.
- setFastReconfigure(boolean) - Method in class org.jdom.input.SAXBuilder
-
Specifies whether this builder will do fast reconfiguration of the
underlying SAX parser when reuseParser is true.
- setFeature(String, boolean) - Method in class org.jdom.input.SAXBuilder
-
This sets a feature on the SAX parser.
- setFeature(String, boolean) - Method in class org.jdom.output.SAXOutputter
-
This will set the state of a SAX feature.
- setFilterMask(int) - Method in class org.jdom.filter.ContentFilter
-
Set filtering mask.
- setForceNamespaceAware(boolean) - Method in class org.jdom.output.DOMOutputter
-
Controls how NO_NAMESPACE nodes are handeled.
- setFormat(Format) - Method in class org.jdom.output.XMLOutputter
-
Sets the new format logic for the outputter.
- setHandler(ContentHandler) - Method in class org.jdom.transform.JDOMResult
-
Sets the target to be a SAX2 ContentHandler.
- setIgnoreTrAXEscapingPIs(boolean) - Method in class org.jdom.output.Format
-
This will set whether JAXP TrAX processing instructions for
disabling/enabling output escaping are ignored.
- setIgnoringBoundaryWhitespace(boolean) - Method in class org.jdom.input.SAXBuilder
-
Specifies whether or not the parser should elminate boundary whitespace,
a term that indicates whitespace-only text between element tags.
- setIgnoringBoundaryWhitespace(boolean) - Method in class org.jdom.input.SAXHandler
-
Specifies whether or not the parser should elminate text() nodes
containing only whitespace when building the document.
- setIgnoringElementContentWhitespace(boolean) - Method in class org.jdom.input.SAXBuilder
-
Specifies whether or not the parser should elminate whitespace in
element content (sometimes known as "ignorable whitespace") when
building the document.
- setIgnoringElementContentWhitespace(boolean) - Method in class org.jdom.input.SAXHandler
-
Specifies whether or not the parser should elminate whitespace in
element content (sometimes known as "ignorable whitespace") when
building the document.
- setIndent(String) - Method in class org.jdom.output.Format
-
This will set the indent String
to use; this
is usually a String
of empty spaces.
- setInputSource(InputSource) - Method in class org.jdom.transform.JDOMSource
-
Sets the SAX InputSource to be used for the Source.
- setInternalSubset(DocumentType, String) - Method in class org.jdom.adapters.AbstractDOMAdapter
-
This attempts to change the DocumentType to have the given internal DTD
subset value.
- setInternalSubset(String) - Method in class org.jdom.DocType
-
This sets the data for the internal subset.
- setLexicalHandler(LexicalHandler) - Method in class org.jdom.output.SAXOutputter
-
This will set the LexicalHandler
.
- setLexicalHandler(LexicalHandler) - Method in class org.jdom.transform.JDOMResult
-
Sets the SAX2 LexicalHandler for the output.
- setLineSeparator(String) - Method in class org.jdom.output.Format
-
This will set the newline separator (lineSeparator
).
- setName(String) - Method in class org.jdom.Attribute
-
This sets the local name of the Attribute
.
- setName(String) - Method in class org.jdom.Element
-
Sets the (local) name of the element.
- setName(String) - Method in class org.jdom.EntityRef
-
This will set the name of this EntityRef
.
- setNamespace(Namespace) - Method in class org.jdom.Attribute
-
- setNamespace(Namespace) - Method in class org.jdom.Element
-
- setNodes(List) - Method in class org.jdom.transform.JDOMSource
-
Sets the source node list used by this TrAX source.
- setOmitDeclaration(boolean) - Method in class org.jdom.output.Format
-
This will set whether the XML declaration
(<?xml version="1.0"?gt;
)
will be omitted or not.
- setOmitEncoding(boolean) - Method in class org.jdom.output.Format
-
This will set whether the XML declaration
(<?xml version="1.0"
encoding="UTF-8"?>
)
includes the encoding of the document.
- setParent(Element) - Method in class org.jdom.Attribute
-
This will set the parent of this Attribute
.
- setParent(Parent) - Method in class org.jdom.Content
-
Sets the parent of this Content.
- setPIVisible(boolean) - Method in class org.jdom.filter.ContentFilter
-
Set visiblity of ProcessingInstruction
objects.
- setProperty(String, Object) - Method in class org.jdom.Document
-
Assigns an arbitrary object to be associated with this document under
the given "id" string.
- setProperty(String, Object) - Method in class org.jdom.input.SAXBuilder
-
This sets a property on the SAX parser.
- setProperty(String, Object) - Method in class org.jdom.output.SAXOutputter
-
This will set the value of a SAX property.
- setPseudoAttribute(String, String) - Method in class org.jdom.ProcessingInstruction
-
This will set a pseudo attribute with the given name and value.
- setPublicID(String) - Method in class org.jdom.DocType
-
This will set the public ID of an externally
referenced DTD.
- setPublicID(String) - Method in class org.jdom.EntityRef
-
This will set the public ID of this EntityRef
.
- setReportDTDEvents(boolean) - Method in class org.jdom.output.SAXOutputter
-
This will define whether to report DTD events to SAX DeclHandlers
and LexicalHandlers if these handlers are registered and the
document to output includes a DocType declaration.
- setReportNamespaceDeclarations(boolean) - Method in class org.jdom.output.SAXOutputter
-
This will define whether attribute namespace declarations shall be
reported as "xmlns" attributes.
- setResult(List) - Method in class org.jdom.transform.JDOMResult
-
Sets the object(s) produced as result of an XSL Transformation.
- setReuseParser(boolean) - Method in class org.jdom.input.SAXBuilder
-
Specifies whether this builder shall reuse the same SAX parser
when performing subsequent parses or allocate a new parser for
each parse.
- setRootElement(Element) - Method in class org.jdom.Document
-
This sets the root
Element
for the
Document
.
- setSystemID(String) - Method in class org.jdom.DocType
-
This will set the system ID of an externally
referenced DTD.
- setSystemID(String) - Method in class org.jdom.EntityRef
-
This will set the system ID of this EntityRef
.
- setTarget(String) - Method in class org.jdom.ProcessingInstruction
-
This will set the target for the PI.
- setText(String) - Method in class org.jdom.CDATA
-
This will set the value of this CDATA
node.
- setText(String) - Method in class org.jdom.Comment
-
This will set the value of the Comment
.
- setText(String) - Method in class org.jdom.Element
-
Sets the content of the element to be the text given.
- setText(String) - Method in class org.jdom.Text
-
This will set the value of this Text
node.
- setTextMode(Format.TextMode) - Method in class org.jdom.output.Format
-
This sets the text output style.
- setTextVisible(boolean) - Method in class org.jdom.filter.ContentFilter
-
Set visiblity of Text
objects.
- setValidation(boolean) - Method in class org.jdom.input.SAXBuilder
-
This sets validation for the builder.
- setValue(String) - Method in class org.jdom.Attribute
-
This will set the value of the Attribute
.
- setVariable(String, Object) - Method in class org.jdom.xpath.XPath
-
Defines an XPath variable and sets its value.
- setXMLFilter(XMLFilter) - Method in class org.jdom.input.SAXBuilder
-
This sets a custom XMLFilter
for the builder.
- setXMLReader(XMLReader) - Method in class org.jdom.transform.JDOMSource
-
Set the XMLReader to be used for the Source.
- setXPathClass(Class) - Static method in class org.jdom.xpath.XPath
-
Sets the concrete XPath subclass to use when allocating XPath
instances.
- shouldEscape(char) - Method in interface org.jdom.output.EscapeStrategy
-
Test whether the supplied character should be formatted literally
or as a character entity.
- skippedEntity(String) - Method in class org.jdom.input.SAXHandler
-
This indicates that an unresolvable entity reference has been
encountered, normally because the external DTD subset has not been
read.
- startCDATA() - Method in class org.jdom.input.SAXHandler
-
Report a CDATA section
- startDocument() - Method in class org.jdom.input.SAXHandler
-
- startDTD(String, String, String) - Method in class org.jdom.input.SAXHandler
-
This will signify that a DTD is being parsed, and can be
used to ensure that comments and other lexical structures
in the DTD are not added to the JDOM Document
object.
- startElement(String, String, String, Attributes) - Method in class org.jdom.input.SAXHandler
-
This reports the occurrence of an actual element.
- startEntity(String) - Method in class org.jdom.input.SAXHandler
-
- startPrefixMapping(String, String) - Method in class org.jdom.input.SAXHandler
-
This will add the prefix mapping to the JDOM
Document
object.
- systemID - Variable in class org.jdom.DocType
-
The system ID of the DOCTYPE
- systemID - Variable in class org.jdom.EntityRef
-
The SystemID of the EntityRef