Package org.omegat.filters3.xml
Class DTD
- java.lang.Object
-
- org.omegat.filters3.Tag
-
- org.omegat.filters3.xml.XMLPseudoTag
-
- org.omegat.filters3.xml.DTD
-
- All Implemented Interfaces:
Element
public class DTD extends XMLPseudoTag
Document type declaration in XML file. For example,<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">.
-
-
Constructor Summary
Constructors Constructor Description DTD(java.lang.String name, java.lang.String publicId, java.lang.String systemId)Creates a new instance of Doctype
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEntity(Entity entity)java.lang.StringgetPublicId()Returns Public ID of this DTD.java.lang.StringgetSystemId()Returns System ID of this DTD.java.lang.StringtoOriginal()Returns the DTD in its original form as it was in original document.-
Methods inherited from class org.omegat.filters3.Tag
getAttribute, getAttributeObject, getAttributes, getIndex, getShortcut, getStartAttributes, getTag, getType, setIndex, setStartAttributes, setType, toSafeCalcShortcut, toShortcut, toTMX
-
-
-
-
Method Detail
-
getPublicId
public java.lang.String getPublicId()
Returns Public ID of this DTD.
-
getSystemId
public java.lang.String getSystemId()
Returns System ID of this DTD.
-
addEntity
public void addEntity(Entity entity)
-
toOriginal
public java.lang.String toOriginal()
Returns the DTD in its original form as it was in original document.- Specified by:
toOriginalin interfaceElement- Specified by:
toOriginalin classTag
-
-