Located, and will
have the values set appropriately.
You can set an instance of this LocatedJDOMFactory as the factory for a SAXBuilder, and the JDOM document produced will have the SAX Location data embedded. Note though, that SAX Location data indicates the position of the end of the SAX Event.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CDATA | cdata(int
The line on which this content begins. line, int The column on the line at which this content begins. col, String String content of CDATA.Overrides org. Implements org. |
| public Comment | comment(int
The line on which this content begins. line, int The column on the line at which this content begins. col, String String content of comment.Overrides org. Implements org. |
| public DocType | docType(int
The line on which this content begins. line, int The column on the line at which this content begins. col, 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(int
The line on which this content begins. line, int The column on the line at which this content begins. col, 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(int
The line on which this content begins. line, int The column on the line at which this content begins. col, String String name of
element being constrained.Overrides org. Implements org. DocType with
the specified element name
|
| public Element | element(int
The line on which this content begins. line, int The column on the line at which this content begins. col, 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(int
The line on which this content begins. line, int The column on the line at which this content begins. col, String String name of element.Overrides org. Implements org. Element in no
.
|
| public Element | element(int
The line on which this content begins. line, int The column on the line at which this content begins. col, 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(int
The line on which this content begins. line, int The column on the line at which this content begins. col, 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(int
The line on which this content begins. line, int The column on the line at which this content begins. col, String String name of element.Overrides org. Implements org. EntityRef
with the supplied name.
|
| public EntityRef | entityRef(int
The line on which this content begins. line, int The column on the line at which this content begins. col, 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 EntityRef | entityRef(int
The line on which this content begins. line, int The column on the line at which this content begins. col, String String name of element.String system ID of element.Overrides org. Implements org. EntityRef
with the supplied name and system ID.
|
| public ProcessingInstruction | processingInstruction(int
The line on which this content begins. line, int The column on the line at which this content begins. col, String String target of PI.Overrides org. Implements org. ProcessingInstruction
with the specified target and no data.
|
| public ProcessingInstruction | processingInstruction(int
The line on which this content begins. line, int The column on the line at which this content begins. col, 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(int
The line on which this content begins. line, int The column on the line at which this content begins. col, String String target of PI.String data for PI.Overrides org. Implements org. ProcessingInstruction
with the specified target and data.
|
| public Text | text(int
The line on which this content begins. line, int The column on the line at which this content begins. col, String String content of Text.Overrides org. Implements org. |
| LocatedJDOMFactory | back to summary |
|---|---|
| public LocatedJDOMFactory() | |
| cdata | back to summary |
|---|---|
| public CDATA cdata(int line, int col, String text) Overrides org. Implements org. Doc from org. This creates the CDATA with the supplied text. | |
| comment | back to summary |
|---|---|
| public Comment comment(int line, int col, String text) Overrides org. Implements org. Doc from org. This creates the comment with the supplied text. | |
| docType | back to summary |
|---|---|
| public DocType docType(int line, int col, String elementName, String publicID, String systemID) Overrides org. Implements org. Doc from org. This will create the
| |
| docType | back to summary |
|---|---|
| public DocType docType(int line, int col, String elementName, String systemID) Overrides org. Implements org. Doc from org. This will create the | |
| docType | back to summary |
|---|---|
| public DocType docType(int line, int col, String elementName) Overrides org. Implements org. Doc from org. This will create the | |
| element | back to summary |
|---|---|
| public Element element(int line, int col, String name, Namespace namespace) Overrides org. Implements org. Doc from org. This will create a new | |
| element | back to summary |
|---|---|
| public Element element(int line, int col, String name) Overrides org. Implements org. Doc from org. This will create an | |
| element | back to summary |
|---|---|
| public Element element(int line, int col, String name, String uri) Overrides org. Implements org. Doc from org. This will create a new | |
| element | back to summary |
|---|---|
| public Element element(int line, int col, 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(int line, int col, String name) Overrides org. Implements org. Doc from org. This will create a new | |
| entityRef | back to summary |
|---|---|
| public EntityRef entityRef(int line, int col, String name, String publicID, String systemID) Overrides org. Implements org. Doc from org. This will create a new
| |
| entityRef | back to summary |
|---|---|
| public EntityRef entityRef(int line, int col, String name, String systemID) Overrides org. Implements org. Doc from org. This will create a new | |
| processingInstruction | back to summary |
|---|---|
| public ProcessingInstruction processingInstruction(int line, int col, String target) Overrides org. Implements org. Doc from org. This will create a new
| |
| processingInstruction | back to summary |
|---|---|
| public ProcessingInstruction processingInstruction(int line, int col, 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(int line, int col, String target, String data) Overrides org. Implements org. Doc from org. This will create a new
| |
| text | back to summary |
|---|---|
| public Text text(int line, int col, String text) Overrides org. Implements org. Doc from org. This creates the Text with the supplied text. | |