public class LocatedEntityRef extends EntityRef implements Located
Content.CType
Constructor and 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 and 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
|
clone, detach, getName, getParent, getPublicID, getSystemID, getValue, setName, setParent, setPublicID, setSystemID, toString
equals, getCType, getDocument, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getParentElement, hashCode
public 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()
Located
public int getColumn()
Located
public void setLine(int line)
Located
Copyright © 2021 Jason Hunter, Brett McLaughlin. All Rights Reserved.