Class LocatedEntityRef
java.lang.Object
org.jdom2.Content
org.jdom2.EntityRef
org.jdom2.located.LocatedEntityRef
- All Implemented Interfaces:
Serializable, Cloneable, Located, NamespaceAware
-
Nested Class Summary
Nested classes/interfaces inherited from class Content
Content.CType -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionLocatedEntityRef(String name) This will create a newEntityRefwith the supplied name.LocatedEntityRef(String name, String systemID) This will create a newEntityRefwith the supplied name and system id.LocatedEntityRef(String name, String publicID, String systemID) This will create a newEntityRefwith the supplied name, public id, and system id. -
Method Summary
Methods inherited from class EntityRef
clone, detach, getName, getParent, getPublicID, getSystemID, getValue, setName, setParent, setPublicID, setSystemID, toStringMethods inherited from class Content
equals, getCType, getDocument, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getParentElement, hashCode
-
Constructor Details
-
LocatedEntityRef
This will create a newEntityRefwith the supplied name.- Parameters:
name-Stringname of element.- Throws:
IllegalNameException- if the given name is not a legal XML name.
-
LocatedEntityRef
This will create a newEntityRefwith the supplied name and system id.- Parameters:
name-Stringname of element.systemID- system id of the entity reference being constructed- Throws:
IllegalNameException- if the given name is not a legal XML name.IllegalDataException- if the given system ID is not a legal system literal.
-
LocatedEntityRef
This will create a newEntityRefwith the supplied name, public id, and system id.- Parameters:
name-Stringname of element.publicID- public id of the entity reference being constructedsystemID- system id of the entity reference being constructed- Throws:
IllegalDataException- if the given system ID is not a legal system literal or the the given public ID is not a legal public IDIllegalNameException- if the given name is not a legal XML name.
-
-
Method Details
-
getLine
-
getColumn
-
setLine
-
setColumn
-