public class LocatedDocType extends DocType implements Located
Content.CType
elementName, internalSubset, publicID, systemID
Constructor and Description |
---|
LocatedDocType(java.lang.String elementName)
This will create the
DocType with
the specified element name |
LocatedDocType(java.lang.String elementName,
java.lang.String systemID)
This will create the
DocType with
the specified element name and reference to an
external DTD. |
LocatedDocType(java.lang.String elementName,
java.lang.String publicID,
java.lang.String systemID)
This will create the
DocType with
the specified element name and a reference to an
external DTD. |
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, getElementName, getInternalSubset, getParent, getPublicID, getSystemID, getValue, setElementName, setInternalSubset, setParent, setPublicID, setSystemID, toString
equals, getCType, getDocument, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getParentElement, hashCode
public LocatedDocType(java.lang.String elementName, java.lang.String publicID, java.lang.String systemID)
DocType
with
the specified element name and a reference to an
external DTD.elementName
- String
name of
element being constrained.publicID
- String
public ID of
referenced DTDsystemID
- String
system ID of
referenced DTDIllegalDataException
- if the given system ID is not a legal
system literal or the public ID is not a legal public ID.IllegalNameException
- if the given root element name is not a
legal XML element name.public LocatedDocType(java.lang.String elementName, java.lang.String systemID)
DocType
with
the specified element name and reference to an
external DTD.elementName
- String
name of
element being constrained.systemID
- String
system ID of
referenced DTDIllegalDataException
- if the given system ID is not a legal
system literal.IllegalNameException
- if the given root element name is not a
legal XML element name.public LocatedDocType(java.lang.String elementName)
DocType
with
the specified element nameelementName
- String
name of
element being constrained.IllegalNameException
- if the given root element name is not a
legal XML element name.public int getLine()
Located
public int getColumn()
Located
public void setLine(int line)
Located
Copyright © 2021 Jason Hunter, Brett McLaughlin. All Rights Reserved.