public class DTD extends XMLPseudoTag
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
.Constructor and Description |
---|
DTD(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
Creates a new instance of Doctype
|
Modifier and Type | Method and Description |
---|---|
void |
addEntity(Entity entity) |
java.lang.String |
getPublicId()
Returns Public ID of this DTD.
|
java.lang.String |
getSystemId()
Returns System ID of this DTD.
|
java.lang.String |
toOriginal()
Returns the DTD in its original form as it was in original document.
|
getAttribute, getAttributeObject, getAttributes, getIndex, getShortcut, getStartAttributes, getTag, getType, setIndex, setStartAttributes, setType, toPartialTMX, toSafeCalcShortcut, toShortcut, toTMX
public DTD(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
public java.lang.String getPublicId()
public java.lang.String getSystemId()
public void addEntity(Entity entity)
public java.lang.String toOriginal()
toOriginal
in interface Element
toOriginal
in class Tag