DefaultDocumentType is the DOM4J default implementation of an
XML document type.
| Modifier and Type | Field and Description |
|---|---|
| protected String | elementName
The root element name of the document typ |
| private List | externalDeclarations
The external DTD declarations |
| private List | internalDeclarations
The internal DTD declarations |
| private String | publicID
Holds value of property publicID. |
| private String | systemID
Holds value of property systemID. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | DefaultDocumentType(String
is the root element name of the document type elementName, String is the system ID of the external DTD systemID)
This will create a new |
| public | DefaultDocumentType(String
is the root element name of the document type elementName, String is the public ID of the DTD publicID, String is the system ID of the DTD systemID)
This will create a new |
| Modifier and Type | Method and Description |
|---|---|
| public String | getElementName()
Implements org. getNamemethod.
|
| public List | getExternalDeclarations()
Implements org. org.package
|
| public List | getInternalDeclarations()
Implements org. org.package
|
| public String | Returns: the public ID of the document typeImplements org. |
| public String | Returns: the system ID of the document typeImplements org. |
| public void | setElementName(String
DOCUMENT ME! elementName)Implements org. setNamemethod.
|
| public void | setExternalDeclarations(List<Decl>
DOCUMENT ME! externalDeclarations)Implements org. org.package
|
| public void | setInternalDeclarations(List<Decl>
DOCUMENT ME! internalDeclarations)Implements org. org.package
|
| public void | setPublicID(String
DOCUMENT ME! publicID)Implements org. |
| public void | setSystemID(String
DOCUMENT ME! systemID)Implements org. |
| elementName | back to summary |
|---|---|
| protected String elementName The root element name of the document typ | |
| externalDeclarations | back to summary |
|---|---|
| private List<Decl> externalDeclarations The external DTD declarations | |
| internalDeclarations | back to summary |
|---|---|
| private List<Decl> internalDeclarations The internal DTD declarations | |
| publicID | back to summary |
|---|---|
| private String publicID Holds value of property publicID. | |
| systemID | back to summary |
|---|---|
| private String systemID Holds value of property systemID. | |
| DefaultDocumentType | back to summary |
|---|---|
| public DefaultDocumentType() | |
| DefaultDocumentType | back to summary |
|---|---|
| public DefaultDocumentType(String elementName, String systemID)
This will create a new | |
| DefaultDocumentType | back to summary |
|---|---|
| public DefaultDocumentType(String elementName, String publicID, String systemID)
This will create a new | |
| getElementName | back to summary |
|---|---|
| public String getElementName() Implements org. Doc from org. This method is the equivalent to the
| |
| getExternalDeclarations | back to summary |
|---|---|
| public List Implements org. Doc from org. Returns a list of internal DTD declaration objects, defined in the
| |
| getInternalDeclarations | back to summary |
|---|---|
| public List Implements org. Doc from org. Returns a list of internal DTD declaration objects, defined in the
| |
| getPublicID | back to summary |
|---|---|
| public String getPublicID() Implements org. DOCUMENT ME!
| |
| getSystemID | back to summary |
|---|---|
| public String getSystemID() Implements org. DOCUMENT ME!
| |
| setElementName | back to summary |
|---|---|
| public void setElementName(String elementName) Implements org. Doc from org. This method is the equivalent to the
| |
| setExternalDeclarations | back to summary |
|---|---|
| public void setExternalDeclarations(List<Decl> externalDeclarations) Implements org. Doc from org. Sets the list of internal DTD declaration objects, defined in the
| |
| setInternalDeclarations | back to summary |
|---|---|
| public void setInternalDeclarations(List<Decl> internalDeclarations) Implements org. Doc from org. Sets the list of internal DTD declaration objects, defined in the
| |
| setPublicID | back to summary |
|---|---|
| public void setPublicID(String publicID) Implements org. Sets the public ID of the document type
| |
| setSystemID | back to summary |
|---|---|
| public void setSystemID(String systemID) Implements org. Sets the system ID of the document type
| |