public class LocatedDocType extends DocType implements Located
Content.CType| 构造器和说明 |
|---|
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. |
| 限定符和类型 | 方法和说明 |
|---|---|
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, setPublicID, setSystemID, toStringequals, getCType, getDocument, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getParentElement, hashCodepublic 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.