Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
C
- 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() - Static method in class org.jdom2.filter.Filters
-
Return a Filter that matches any
CDATA
data. - cdata(int, int, String) - Method in class org.jdom2.DefaultJDOMFactory
- 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(String) - Method in class org.jdom2.DefaultJDOMFactory
- cdata(String) - Method in interface org.jdom2.JDOMFactory
-
This creates the CDATA with the supplied text.
- CDATA - Class in org.jdom2
-
An XML CDATA section.
- CDATA - Enum constant in enum class org.jdom2.AttributeType
-
Attribute type: the attribute value is a string.
- CDATA - Enum constant in enum class org.jdom2.Content.CType
-
Represents
CDATA
content - CDATA - Static variable in class org.jdom2.filter.ContentFilter
-
Mask for JDOM
CDATA
objects - 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_TYPE - Static variable in class org.jdom2.Attribute
-
JDOM 1.x compatible reference to
AttributeType.CDATA
- 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
name.Attribute
- 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
data.Comment
- 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
name.Element
- checkNamespaceCollision(Attribute, Element) - Static method in class org.jdom2.Verifier
- checkNamespaceCollision(Attribute, Element, int) - Static method in class org.jdom2.Verifier
- checkNamespaceCollision(Namespace, List<?>) - Static method in class org.jdom2.Verifier
-
Check if a
collides with any namespace from a list of objects.Namespace
- checkNamespaceCollision(Namespace, List<?>, int) - Static method in class org.jdom2.Verifier
-
Check if a
collides with any namespace from a list of objects.Namespace
- checkNamespaceCollision(Namespace, Attribute) - 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, Namespace) - Static method in class org.jdom2.Verifier
-
Check if two namespaces collide.
- 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
prefix.Namespace
- 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
URI.Namespace
- checkProcessingInstructionData(String) - Static method in class org.jdom2.Verifier
-
This will check the supplied data to see if it is legal for use as
data.ProcessingInstruction
- checkProcessingInstructionTarget(String) - Static method in class org.jdom2.Verifier
-
This will check the supplied data to see if it is legal for use as a JDOM
target.ProcessingInstruction
- 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
- 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() - 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(int, int, String) - Method in class org.jdom2.DefaultJDOMFactory
- 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
- comment(String) - Method in class org.jdom2.DefaultJDOMFactory
- comment(String) - Method in interface org.jdom2.JDOMFactory
-
This creates the comment with the supplied text.
- Comment - Class in org.jdom2
-
An XML comment.
- Comment - Enum constant in enum class org.jdom2.Content.CType
-
Represents
Comment
content - 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 - Static variable in class org.jdom2.filter.ContentFilter
-
Mask for JDOM
Comment
objects - compact(String) - Static method in class org.jdom2.output.Format
-
Use the XML Specification definition of whitespace to compact the input value.
- COMPACT - Enum constant in enum class org.jdom2.output.support.AbstractFormattedWalker.Trim
-
Trim Both and replace all internal whitespace with a single space
- configureParser(XMLReader, SAXHandler) - Method in class org.jdom2.input.SAXBuilder
-
This configures the XMLReader to be used for reading the XML document.
- Configuring the Pillars - Search tag in package org.jdom2.input.sax
- Section
- 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() - Static method in class org.jdom2.filter.Filters
-
Return a Filter that matches any
Content
data. - 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.CType - Enum Class 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.
- Content Processing - Search tag in class org.jdom2.output.support.AbstractDOMOutputProcessor
- Section
- copyOf(boolean[], 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(E[], 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.
- Core JDOM classes - Search tag in package org.jdom2
- Section
- CR - Enum constant in enum class org.jdom2.output.LineSeparator
-
The Separator sequence CR which is '\r'.
- createDocument() - Method in interface org.jdom2.adapters.DOMAdapter
-
This creates an empty
Document
object based on a specific parser implementation. - createDocument() - Method in class org.jdom2.adapters.JAXPDOMAdapter
-
This creates an empty
Document
object based on the current JAXP parser implementation. - 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(DocType) - Method in interface org.jdom2.adapters.DOMAdapter
-
This creates an empty
Document
object based on a specific parser implementation with the given DOCTYPE. - 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 class org.jdom2.input.sax.XMLReaders
-
Get a new XMLReader from this JAXP-based
XMLReaderJDOMFactory
. - createXMLReader() - Method in class org.jdom2.input.sax.XMLReaderSAX2Factory
- CRNL - Enum constant in enum class org.jdom2.output.LineSeparator
-
The Separator sequence CRNL which is '\r\n'.
- ctype - Variable in class org.jdom2.Content
-
The content type enumerate value for this Content
- Custom Factories - Search tag in package org.jdom2.input.sax
- Section
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form