| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addContent(Parent
The parent, Content Parent to add the content to.The child)Content to addOverrides org. Implements org. |
| public void | addNamespaceDeclaration(Element
The parent, Namespace Element to add the Namespace toThe additional)Namespace to add.Overrides org. Implements org. |
| public Attribute | attribute(String
String name of Attribute.String value for new attribute.Namespace of the new AttributeOverrides org. Implements org.
This will create a new |
| public Attribute | attribute(String
String name of Attribute.String value for new attribute.int type for new attribute.Namespace namespace for new attribute.Overrides org. Implements org.
Deprecated
This will create a new Attribute with the
specified (local) name, value, and type, and in the provided
.
|
| public Attribute | attribute(String
String name of Attribute.String value for new attribute.AttributeType type for new attribute.Namespace namespace for new attribute.Overrides org. Implements org. Attribute with the
specified (local) name, value, and type, and in the provided
.
|
| public Attribute | attribute(String
String name of Attribute.String value for new attribute.Overrides org. Implements org. Attribute with the
specified (local) name and value, and does not place
the attribute in a .
|
| public Attribute | attribute(String
String name of Attribute.String value for new attribute.int type for new attribute.Overrides org. Implements org.
Deprecated
This will create a new Attribute with the
specified (local) name, value and type, and does not place
the attribute in a .
|
| public Attribute | attribute(String
String name of Attribute.String value for new attribute.AttributeType type for new attribute.Overrides org. Implements org. Attribute with the
specified (local) name, value and type, and does not place
the attribute in a .
|
| public CDATA | cdata(final int
The line on which this content begins. line, final int The column on the line at which this content begins. col, final String String content of CDATA.Overrides org. Implements org. |
| public Comment | comment(final int
The line on which this content begins. line, final int The column on the line at which this content begins. col, final String String content of comment.Overrides org. Implements org. |
| public DocType | docType(final int
The line on which this content begins. line, final int The column on the line at which this content begins. col, final String String name of
element being constrained.String public ID of
referenced DTDString system ID of
referenced DTDOverrides org. Implements org. DocType with
the specified element name and a reference to an
external DTD.
|
| public DocType | docType(final int
The line on which this content begins. line, final int The column on the line at which this content begins. col, final String String name of
element being constrained.String system ID of
referenced DTDOverrides org. Implements org. DocType with
the specified element name and reference to an
external DTD.
|
| public DocType | docType(final int
The line on which this content begins. line, final int The column on the line at which this content begins. col, final String String name of
element being constrained.Overrides org. Implements org. DocType with
the specified element name
|
| public Document | document(Element
Element for document root.DocType declaration.the URI from which this document was loaded. baseURI)Overrides org. Implements org. Document,
with the supplied
as the root element and the supplied
declaration.
|
| public Document | document(Element
Element for document root.DocType declaration.Overrides org. Implements org. Document,
with the supplied
as the root element and the supplied
declaration.
|
| public Document | document(Element
Element for document rootOverrides org. Implements org. Document,
with the supplied
as the root element, and no
declaration.
|
| public Element | element(final int
The line on which this content begins. line, final int The column on the line at which this content begins. col, final String String name of element.Namespace to put element in.Overrides org. Implements org. Element
with the supplied (local) name, and define
the to be used.
|
| public Element | element(final int
The line on which this content begins. line, final int The column on the line at which this content begins. col, final String String name of element.Overrides org. Implements org. Element in no
.
|
| public Element | element(final int
The line on which this content begins. line, final int The column on the line at which this content begins. col, final String String name of element.String URI for Namespace element
should be in.Overrides org. Implements org. Element with
the supplied (local) name, and specifies the URI
of the the Element
should be in, resulting it being unprefixed (in the default
namespace).
|
| public Element | element(final int
The line on which this content begins. line, final int The column on the line at which this content begins. col, final String String name of element.the NamespacePrefic to use for this Element prefix, String String URI for Namespace element
should be in.Overrides org. Implements org. Element with
the supplied (local) name, and specifies the prefix and URI
of the the Element
should be in.
|
| public EntityRef | entityRef(final int
The line on which this content begins. line, final int The column on the line at which this content begins. col, final String String name of element.Overrides org. Implements org. EntityRef
with the supplied name.
|
| public EntityRef | entityRef(final int
The line on which this content begins. line, final int The column on the line at which this content begins. col, final String String name of element.String system ID of element.Overrides org. Implements org. EntityRef
with the supplied name and system ID.
|
| public EntityRef | entityRef(final int
The line on which this content begins. line, final int The column on the line at which this content begins. col, final String String name of element.String public ID of element.String system ID of element.Overrides org. Implements org. EntityRef
with the supplied name, public ID, and system ID.
|
| public ProcessingInstruction | processingInstruction(final int
The line on which this content begins. line, final int The column on the line at which this content begins. col, final String String target of PI.Map data for PI, in
name/value pairsOverrides org. Implements org. ProcessingInstruction
with the specified target and data.
|
| public ProcessingInstruction | processingInstruction(final int
The line on which this content begins. line, final int The column on the line at which this content begins. col, final String String target of PI.String data for PI.Overrides org. Implements org. ProcessingInstruction
with the specified target and data.
|
| public ProcessingInstruction | processingInstruction(final int
The line on which this content begins. line, final int The column on the line at which this content begins. col, final String String target of PI.Overrides org. Implements org. ProcessingInstruction
with the specified target and no data.
|
| public void | setAttribute(Element
The parent, Attribute Element to set the Attribute onThe a)Attribute to setOverrides org. Implements org. |
| public void | setRoot(Document
The doc, Element Document to set the Root Element of.The root)Element to set as the root.Overrides org. Implements org. |
| public Text | text(final int
The line on which this content begins. line, final int The column on the line at which this content begins. col, final String String content of Text.Overrides org. Implements org. |
| UncheckedJDOMFactory | back to summary |
|---|---|
| public UncheckedJDOMFactory() | |
| addContent | back to summary |
|---|---|
| public void addContent(Parent parent, Content child) Overrides org. Implements org. Doc from org. This will add the specified content to the specified parent instance | |
| addNamespaceDeclaration | back to summary |
|---|---|
| public void addNamespaceDeclaration(Element parent, Namespace additional) Overrides org. Implements org. Doc from org. Adds a namespace declaration to an Element | |
| attribute | back to summary |
|---|---|
| public Attribute attribute(String name, String value, Namespace namespace) Overrides org. Implements org. Doc from org.
This will create a new | |
| attribute | back to summary |
|---|---|
| public Attribute attribute(String name, String value, int type, Namespace namespace) Overrides org. Implements org. Doc from org. Deprecated
This will create a new | |
| attribute | back to summary |
|---|---|
| public Attribute attribute(String name, String value, AttributeType type, Namespace namespace) Overrides org. Implements org. Doc from org. This will create a new | |
| attribute | back to summary |
|---|---|
| public Attribute attribute(String name, String value) Overrides org. Implements org. Doc from org. This will create a new Note This actually explicitly puts the
| |
| attribute | back to summary |
|---|---|
| public Attribute attribute(String name, String value, int type) Overrides org. Implements org. Doc from org. Deprecated
This will create a new Note This actually explicitly puts the
| |
| attribute | back to summary |
|---|---|
| public Attribute attribute(String name, String value, AttributeType type) Overrides org. Implements org. Doc from org. This will create a new Note This actually explicitly puts the
| |
| cdata | back to summary |
|---|---|
| public CDATA cdata(final int line, final int col, final String str) Overrides org. Implements org. Doc from org. This creates the CDATA with the supplied text. | |
| comment | back to summary |
|---|---|
| public Comment comment(final int line, final int col, final String str) Overrides org. Implements org. Doc from org. This creates the comment with the supplied text. | |
| docType | back to summary |
|---|---|
| public DocType docType(final int line, final int col, final String elementName, String publicID, String systemID) Overrides org. Implements org. Doc from org. This will create the
| |
| docType | back to summary |
|---|---|
| public DocType docType(final int line, final int col, final String elementName, String systemID) Overrides org. Implements org. Doc from org. This will create the | |
| docType | back to summary |
|---|---|
| public DocType docType(final int line, final int col, final String elementName) Overrides org. Implements org. Doc from org. This will create the | |
| document | back to summary |
|---|---|
| public Document document(Element rootElement, DocType docType, String baseURI) Overrides org. Implements org. Doc from org. This will create a new | |
| document | back to summary |
|---|---|
| public Document document(Element rootElement, DocType docType) Overrides org. Implements org. Doc from org. This will create a new | |
| document | back to summary |
|---|---|
| public Document document(Element rootElement) Overrides org. Implements org. Doc from org. This will create a new | |
| element | back to summary |
|---|---|
| public Element element(final int line, final int col, final String name, Namespace namespace) Overrides org. Implements org. Doc from org. This will create a new | |
| element | back to summary |
|---|---|
| public Element element(final int line, final int col, final String name) Overrides org. Implements org. Doc from org. This will create an | |
| element | back to summary |
|---|---|
| public Element element(final int line, final int col, final String name, String uri) Overrides org. Implements org. Doc from org. This will create a new | |
| element | back to summary |
|---|---|
| public Element element(final int line, final int col, final String name, String prefix, String uri) Overrides org. Implements org. Doc from org. This will create a new
| |
| entityRef | back to summary |
|---|---|
| public EntityRef entityRef(final int line, final int col, final String name) Overrides org. Implements org. Doc from org. This will create a new | |
| entityRef | back to summary |
|---|---|
| public EntityRef entityRef(final int line, final int col, final String name, String systemID) Overrides org. Implements org. Doc from org. This will create a new | |
| entityRef | back to summary |
|---|---|
| public EntityRef entityRef(final int line, final int col, final String name, String publicID, String systemID) Overrides org. Implements org. Doc from org. This will create a new
| |
| processingInstruction | back to summary |
|---|---|
| public ProcessingInstruction processingInstruction(final int line, final int col, final String target, Map<String, String> data) Overrides org. Implements org. Doc from org. This will create a new
| |
| processingInstruction | back to summary |
|---|---|
| public ProcessingInstruction processingInstruction(final int line, final int col, final String target, String data) Overrides org. Implements org. Doc from org. This will create a new
| |
| processingInstruction | back to summary |
|---|---|
| public ProcessingInstruction processingInstruction(final int line, final int col, final String target) Overrides org. Implements org. Doc from org. This will create a new
| |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(Element parent, Attribute a) Overrides org. Implements org. Doc from org. Sets a specific Attribute on an Element | |
| setRoot | back to summary |
|---|---|
| public void setRoot(Document doc, Element root) Overrides org. Implements org. Doc from org. Sets the 'root' Element for a Document. | |
| text | back to summary |
|---|---|
| public Text text(final int line, final int col, final String str) Overrides org. Implements org. Doc from org. This creates the Text with the supplied text. | |