public class LocatedEntityRef extends EntityRef implements Located
Content.CType| 构造器和说明 |
|---|
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. |
| 限定符和类型 | 方法和说明 |
|---|---|
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
|
clone, detach, getName, getParent, getPublicID, getSystemID, getValue, setName, setPublicID, setSystemID, toStringequals, getCType, getDocument, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getParentElement, hashCodepublic 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.