Located, NamespaceAwarepublic class LocatedEntityRef extends EntityRef implements Located
Content.CType| Constructor | Description |
|---|---|
LocatedEntityRef(java.lang.String name) |
This will create a new
EntityRef with the supplied name. |
LocatedEntityRef(java.lang.String name,
java.lang.String systemID) |
This will create a new
EntityRef
with the supplied name and system id. |
LocatedEntityRef(java.lang.String name,
java.lang.String publicID,
java.lang.String systemID) |
This will create a new
EntityRef
with the supplied name, public id, and system id. |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getColumn() |
Get the column (character on the line).
|
int |
getLine() |
Get the line number
|
void |
setColumn(int col) |
Set the column (character on the line).
|
void |
setLine(int line) |
Set the line number
|
equals, getCType, getDocument, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getParentElement, hashCodeclone, detach, getName, getParent, getPublicID, getSystemID, getValue, setName, setParent, setPublicID, setSystemID, toStringpublic LocatedEntityRef(java.lang.String name)
EntityRef with the supplied name.name - String name of element.IllegalNameException - if the given name is not a legal
XML name.public LocatedEntityRef(java.lang.String name,
java.lang.String systemID)
EntityRef
with the supplied name and system id.name - String name of element.systemID - system id of the entity reference being constructedIllegalNameException - if the given name is not a legal
XML name.IllegalDataException - if the given system ID is not a legal
system literal.public LocatedEntityRef(java.lang.String name,
java.lang.String publicID,
java.lang.String systemID)
EntityRef
with the supplied name, public id, and system id.name - String name of element.publicID - public id of the entity reference being constructedsystemID - system id of the entity reference being constructedIllegalDataException - 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.public int getLine()
Locatedpublic int getColumn()
Locatedpublic void setLine(int line)
LocatedCopyright ? 2019 Jason Hunter, Brett McLaughlin. All Rights Reserved.