- canContainContent(Content, int, boolean) - Method in class org.jdom2.Document
-
- canContainContent(Content, int, boolean) - Method in class org.jdom2.Element
-
- canContainContent(Content, int, boolean) - Method in interface org.jdom2.Parent
-
Test whether this Parent instance can contain the specified content
at the specified position.
- CDATA - Class in org.jdom2
-
An XML CDATA section.
- CDATA() - Constructor for class org.jdom2.CDATA
-
This is the protected, no-args constructor standard in all JDOM
classes.
- CDATA(String) - Constructor for class org.jdom2.CDATA
-
This constructor creates a new CDATA
node, with the
supplied string value as its character content.
- cdata(String) - Method in class org.jdom2.DefaultJDOMFactory
-
- cdata(int, int, String) - Method in class org.jdom2.DefaultJDOMFactory
-
- CDATA - Static variable in class org.jdom2.filter.ContentFilter
-
Mask for JDOM
CDATA
objects
- cdata() - Static method in class org.jdom2.filter.Filters
-
Return a Filter that matches any
CDATA
data.
- cdata(String) - Method in interface org.jdom2.JDOMFactory
-
This creates the CDATA with the supplied text.
- cdata(int, int, String) - Method in interface org.jdom2.JDOMFactory
-
This creates the CDATA with the supplied text.
- cdata(int, int, String) - Method in class org.jdom2.located.LocatedJDOMFactory
-
- cdata(int, int, String) - Method in class org.jdom2.SlimJDOMFactory
-
- cdata(int, int, String) - Method in class org.jdom2.UncheckedJDOMFactory
-
- CDATA_TYPE - Static variable in class org.jdom2.Attribute
-
- CDATAPOST - Static variable in class org.jdom2.output.support.AbstractXMLOutputProcessor
-
Simple constant for a close-CDATA
- CDATAPRE - Static variable in class org.jdom2.output.support.AbstractXMLOutputProcessor
-
Simple constant for an open-CDATA
- characters(char[], int, int) - Method in class org.jdom2.input.sax.SAXHandler
-
This will report character data (within an element).
- checkAttributeName(String) - Static method in class org.jdom2.Verifier
-
This will check the supplied name to see if it is legal for use as
a JDOM
Attribute
name.
- checkCDATASection(String) - Static method in class org.jdom2.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.jdom2.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.jdom2.Verifier
-
This will check the supplied data to see if it is legal for use as
JDOM
Comment
data.
- checkElementName(String) - Static method in class org.jdom2.Verifier
-
This will check the supplied name to see if it is legal for use as
a JDOM
Element
name.
- checkNamespaceCollision(Namespace, Namespace) - Static method in class org.jdom2.Verifier
-
Check if two namespaces collide.
- checkNamespaceCollision(Attribute, Element) - Static method in class org.jdom2.Verifier
-
- checkNamespaceCollision(Attribute, Element, int) - Static method in class org.jdom2.Verifier
-
- checkNamespaceCollision(Namespace, Element) - Static method in class org.jdom2.Verifier
-
- checkNamespaceCollision(Namespace, Element, int) - Static method in class org.jdom2.Verifier
-
- checkNamespaceCollision(Namespace, Attribute) - Static method in class org.jdom2.Verifier
-
- checkNamespaceCollision(Namespace, List<?>) - Static method in class org.jdom2.Verifier
-
Check if a
Namespace
collides with any namespace
from a list of objects.
- checkNamespaceCollision(Namespace, List<?>, int) - Static method in class org.jdom2.Verifier
-
Check if a
Namespace
collides with any namespace
from a list of objects.
- checkNamespacePrefix(String) - Static method in class org.jdom2.Verifier
-
This will check the supplied name to see if it is legal for use as
a JDOM
Namespace
prefix.
- checkNamespaceURI(String) - Static method in class org.jdom2.Verifier
-
This will check the supplied name to see if it is legal for use as
a JDOM
Namespace
URI.
- checkProcessingInstructionData(String) - Static method in class org.jdom2.Verifier
-
- checkProcessingInstructionTarget(String) - Static method in class org.jdom2.Verifier
-
- checkPublicID(String) - Static method in class org.jdom2.Verifier
-
This will ensure that the data for a public identifier
is legal.
- checkSystemLiteral(String) - Static method in class org.jdom2.Verifier
-
This will ensure that the data for a system literal
is legal.
- checkURI(String) - Static method in class org.jdom2.Verifier
-
Checks a string to see if it is a legal RFC 2396 URI.
- checkXMLName(String) - Static method in class org.jdom2.Verifier
-
This is a utility function for sharing the base process of checking
any XML name.
- clearCache() - Method in class org.jdom2.SlimJDOMFactory
-
Reset any Cached String instance data from this SlimJDOMFaxctory cache.
- clone() - Method in class org.jdom2.Attribute
-
- clone() - Method in class org.jdom2.CDATA
-
- clone() - Method in class org.jdom2.Comment
-
- clone() - Method in class org.jdom2.Content
-
- clone() - Method in class org.jdom2.DocType
-
- clone() - Method in class org.jdom2.Document
-
This will return a deep clone of this Document
.
- clone() - Method in class org.jdom2.Element
-
This returns a deep clone of this element.
- clone() - Method in class org.jdom2.EntityRef
-
- clone() - Method in class org.jdom2.output.Format
-
- clone() - Method in class org.jdom2.output.StAXEventOutputter
-
Returns a cloned copy of this StAXStreamOutputter.
- clone() - Method in class org.jdom2.output.StAXStreamOutputter
-
Returns a cloned copy of this StAXStreamOutputter.
- clone() - Method in class org.jdom2.output.StAXStreamReader
-
Returns a cloned copy of this XMLOutputter.
- clone() - Method in class org.jdom2.output.XMLOutputter
-
Returns a cloned copy of this XMLOutputter.
- clone() - Method in interface org.jdom2.Parent
-
Obtain a deep, unattached copy of this parent and its children.
- clone() - Method in class org.jdom2.ProcessingInstruction
-
- clone() - Method in class org.jdom2.Text
-
- clone() - Method in class org.jdom2.xpath.util.AbstractXPathCompiled
-
Subclasses of this AbstractXPathCompile class must call super.clone() in
their clone methods!
- clone() - Method in interface org.jdom2.xpath.XPathExpression
-
Create a new instance of this XPathExpression that duplicates this
instance.
- cloneContent() - Method in class org.jdom2.Document
-
- cloneContent() - Method in class org.jdom2.Element
-
- cloneContent() - Method in interface org.jdom2.Parent
-
Returns a list containing detached clones of this parent's content list.
- close() - Method in class org.jdom2.input.StAXStreamWriter
-
- close() - Method in class org.jdom2.output.support.AbstractStAXStreamReader
-
- coalesceText(boolean) - Method in class org.jdom2.Element
-
Adjacent Text content is merged into the first Text in document order,
and the redundant Text items are removed (including any empty Text).
- Comment - Class in org.jdom2
-
An XML comment.
- Comment() - Constructor for class org.jdom2.Comment
-
Default, no-args constructor for implementations to use if needed.
- Comment(String) - Constructor for class org.jdom2.Comment
-
This creates the comment with the supplied text.
- comment(String) - Method in class org.jdom2.DefaultJDOMFactory
-
- comment(int, int, String) - Method in class org.jdom2.DefaultJDOMFactory
-
- COMMENT - Static variable in class org.jdom2.filter.ContentFilter
-
- comment() - Static method in class org.jdom2.filter.Filters
-
Return a Filter that matches any
Comment
data.
- comment(char[], int, int) - Method in class org.jdom2.input.sax.SAXHandler
-
This reports that a comments is parsed.
- comment(String) - Method in interface org.jdom2.JDOMFactory
-
This creates the comment with the supplied text.
- comment(int, int, String) - Method in interface org.jdom2.JDOMFactory
-
This creates the comment with the supplied text.
- comment(int, int, String) - Method in class org.jdom2.located.LocatedJDOMFactory
-
- comment(int, int, String) - Method in class org.jdom2.SlimJDOMFactory
-
- comment(int, int, String) - Method in class org.jdom2.UncheckedJDOMFactory
-
- compact(String) - Static method in class org.jdom2.output.Format
-
Use the XML Specification definition of whitespace to compact the
input value.
- compile(String, Filter<T>, Map<String, Object>, Namespace...) - Method in class org.jdom2.xpath.jaxen.JaxenXPathFactory
-
- compile(String, Filter<T>, Map<String, Object>, Namespace...) - Method in class org.jdom2.xpath.XPathFactory
-
Create a Compiled XPathExpression<> instance from this factory.
- compile(String, Filter<T>, Map<String, Object>, Collection<Namespace>) - Method in class org.jdom2.xpath.XPathFactory
-
Create a XPathExpression<> instance from this factory.
- compile(String, Filter<T>) - Method in class org.jdom2.xpath.XPathFactory
-
Create a XPathExpression<T> instance from this factory.
- compile(String) - Method in class org.jdom2.xpath.XPathFactory
-
Create a XPathExpression<Object> instance from this factory.
- compileWith(XPathFactory) - Method in class org.jdom2.xpath.XPathBuilder
-
Compile an XPathExpression using the details currently stored in the
XPathBuilder.
- configureParser(XMLReader, SAXHandler) - Method in class org.jdom2.input.SAXBuilder
-
This configures the XMLReader to be used for reading the XML document.
- construct(String, Class<E>) - Static method in class org.jdom2.internal.ReflectionConstructor
-
Construct a new instance of the named class, and ensure it is cast
to the type specified as the targetclass.
- Content - Class in org.jdom2
-
Superclass for JDOM objects which can be legal child content
of
Parent
nodes.
- Content(Content.CType) - Constructor for class org.jdom2.Content
-
Create a new Content instance of a particular type.
- content() - Static method in class org.jdom2.filter.Filters
-
Return a Filter that matches any
Content
data.
- Content.CType - Enum in org.jdom2
-
An enumeration useful for identifying content types without
having to do instanceof
type conditionals.
- ContentFilter - Class in org.jdom2.filter
-
A general purpose Filter able to represent all legal JDOM objects or a
specific subset.
- ContentFilter() - Constructor for class org.jdom2.filter.ContentFilter
-
Default constructor that allows any legal JDOM objects.
- ContentFilter(boolean) - Constructor for class org.jdom2.filter.ContentFilter
-
Set whether all JDOM objects are visible or not.
- ContentFilter(int) - Constructor for class org.jdom2.filter.ContentFilter
-
Filter out JDOM objects according to a filtering mask.
- copyOf(E[], int) - Static method in class org.jdom2.internal.ArrayCopy
-
Arrays.copyOf(...) is a Java6 thing.
- copyOf(char[], int) - Static method in class org.jdom2.internal.ArrayCopy
-
Arrays.copyOf(...) is a Java6 thing.
- copyOf(int[], int) - Static method in class org.jdom2.internal.ArrayCopy
-
Arrays.copyOf(...) is a Java6 thing.
- copyOf(boolean[], int) - Static method in class org.jdom2.internal.ArrayCopy
-
Arrays.copyOf(...) is a Java6 thing.
- copyOfRange(E[], int, int) - Static method in class org.jdom2.internal.ArrayCopy
-
Arrays.copyOf(...) is a Java6 thing.
- createDocument(DocType) - Method in class org.jdom2.adapters.AbstractDOMAdapter
-
This creates an empty Document
object based
on a specific parser implementation with the given DOCTYPE.
- createDocument() - Method in interface org.jdom2.adapters.DOMAdapter
-
This creates an empty Document
object based
on a specific parser implementation.
- createDocument(DocType) - Method in interface org.jdom2.adapters.DOMAdapter
-
This creates an empty Document
object based
on a specific parser implementation with the given DOCTYPE.
- createDocument() - Method in class org.jdom2.adapters.JAXPDOMAdapter
-
This creates an empty Document
object based
on the current JAXP parser implementation.
- createParser() - Method in class org.jdom2.input.SAXBuilder
-
Allow overriding classes access to the Parser before it is used in a
SAXBuilderEngine.
- createParser() - Method in class org.jdom2.output.support.AbstractSAXOutputProcessor
-
Creates a SAX XMLReader.
- createSAXHandler(JDOMFactory) - Method in class org.jdom2.input.sax.DefaultSAXHandlerFactory
-
- createSAXHandler(JDOMFactory) - Method in interface org.jdom2.input.sax.SAXHandlerFactory
-
Create a new SAXHandler instance for SAXBuilder to use.
- createXMLReader() - Method in class org.jdom2.input.sax.AbstractReaderSchemaFactory
-
- createXMLReader() - Method in class org.jdom2.input.sax.XMLReaderJAXPFactory
-
- createXMLReader() - Method in interface org.jdom2.input.sax.XMLReaderJDOMFactory
-
Return a new XMLReader according to the implementation of this
XMLReaderJDOMFactory instance.
- createXMLReader() - Method in enum org.jdom2.input.sax.XMLReaders
-
- createXMLReader() - Method in class org.jdom2.input.sax.XMLReaderSAX2Factory
-
- ctype - Variable in class org.jdom2.Content
-
The content type enumerate value for this Content