| Modifier and Type | Field and Description |
|---|---|
| protected String | name
The name of the |
| protected String | publicID
The PublicID of the |
| private static final long | serialVersionUID
JDOM2 Serialization.
|
| protected String | systemID
The SystemID of the |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public EntityRef | |
| public EntityRef | detach()
Overrides org. |
| public String | |
| public Element | getParent()
Overrides org. |
| public String | |
| public String | |
| public String | Returns: the empty stringImplements abstract org. |
| public EntityRef | |
| protected EntityRef | setParent(Parent
new parent element parent)Overrides org. |
| public EntityRef | Returns: thisEntityRef modified.new public id publicID)This will set the public ID of this |
| public EntityRef | Returns: thisEntityRef modified.new system id systemID)This will set the system ID of this |
| public String | Returns: String - information about the
EntityRefOverrides java. String representation of the
EntityRef, suitable for debugging.
|
| name | back to summary |
|---|---|
| protected String name The name of the | |
| publicID | back to summary |
|---|---|
| protected String publicID The PublicID of the | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. JDOM2 Serialization. In this case, EntityRef is simple. | |
| systemID | back to summary |
|---|---|
| protected String systemID The SystemID of the | |
| EntityRef | back to summary |
|---|---|
| protected EntityRef() Default, no-args constructor for implementations to use if needed. | |
| EntityRef | back to summary |
|---|---|
| public EntityRef(String name) This will create a new
| |
| EntityRef | back to summary |
|---|---|
| public EntityRef(String name, String systemID) This will create a new
| |
| EntityRef | back to summary |
|---|---|
| public EntityRef(String name, String publicID, String systemID) This will create a new
| |
| clone | back to summary |
|---|---|
| public EntityRef clone() Overrides org. Doc from org. Return a deep clone of this instance. Even if this instance has a parent, the returned clone will not. All JDOM core classes are Cloneable, and never throw CloneNotSupportedException. Additionally all Cloneable JDOM classes return the correct type of instance from this method and there is no need to cast the result (co-variant return value). Subclasses of this should still call super.clone() in their clone method.
| |
| detach | back to summary |
|---|---|
| public EntityRef detach() Overrides org. Doc from org. Detaches this child from its parent or does nothing if the child has no parent.
This method can be overridden by particular Content subclasses to return
a specific type of Content (co-variant return type). All overriding
subclasses must call | |
| getName | back to summary |
|---|---|
| public String getName() This returns the name of the
| |
| getParent | back to summary |
|---|---|
| public Element getParent() Overrides org. Doc from org. Return this child's parent, or null if this child is currently
not attached. The parent can be either an
This method can be overridden by particular Content subclasses to return
a specific type of Parent (co-variant return type). All overriding
subclasses must call | |
| getPublicID | back to summary |
|---|---|
| public String getPublicID() This will return the publid ID of this
| |
| getSystemID | back to summary |
|---|---|
| public String getSystemID() This will return the system ID of this
| |
| getValue | back to summary |
|---|---|
| public String getValue() Implements abstract org. Returns the empty string since entity references don't have an XPath 1.0 string value. | |
| setName | back to summary |
|---|---|
| public EntityRef setName(String name) This will set the name of this
| |
| setParent | back to summary |
|---|---|
| protected EntityRef setParent(Parent parent) Overrides org. Doc from org. Sets the parent of this Content. The caller is responsible for removing any pre-existing parentage.
This method can be overridden by particular Content subclasses to return
a specific type of Content (co-variant return type). All overriding
subclasses must call | |
| setPublicID | back to summary |
|---|---|
| public EntityRef setPublicID(String publicID) This will set the public ID of this
| |
| setSystemID | back to summary |
|---|---|
| public EntityRef setSystemID(String systemID) This will set the system ID of this
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. This returns a | |