| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| protected String | elementName
The element being constrained |
| protected String | internalSubset
The internal subset of the DOCTYPE |
| protected String | publicID
The public ID of the DOCTYPE |
| protected String | systemID
The system ID of the DOCTYPE |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: String - element name for DOCTYPEThis will retrieve the element name being constrained. |
| public String | Returns: String - the internal subsetThis returns the data for the internal subset. |
| public String | Returns: String - public ID of referenced DTD.This will retrieve the public ID of an externally
referenced DTD, or an empty |
| public String | Returns: String - system ID of referenced DTD.This will retrieve the system ID of an externally
referenced DTD, or an empty |
| public String | Returns: the empty stringImplements abstract org. |
| public DocType | Returns: DocTypeDocType this DocType objectString name of
root element being constrained.This will set the root element name declared by this DOCTYPE declaration. |
| public void | setInternalSubset(String
data for the internal subset, as a
newData)String.This sets the data for the internal subset. |
| public DocType | Returns: DocTypeDocType this DocType objectid to set publicID)This will set the public ID of an externally referenced DTD. |
| public DocType | Returns: systemIDString system ID of
referenced DTD.id to set systemID)This will set the system ID of an externally referenced DTD. |
| public String | Returns: String - information about the
DocTypeOverrides java. String representation of the
DocType, suitable for debugging.
|
| CVS_ID | back to summary |
|---|---|
| private static final String CVS_ID | |
| elementName | back to summary |
|---|---|
| protected String elementName The element being constrained | |
| internalSubset | back to summary |
|---|---|
| protected String internalSubset The internal subset of the DOCTYPE | |
| publicID | back to summary |
|---|---|
| protected String publicID The public ID of the DOCTYPE | |
| systemID | back to summary |
|---|---|
| protected String systemID The system ID of the DOCTYPE | |
| DocType | back to summary |
|---|---|
| protected DocType() Default, no-args constructor for implementations to use if needed. | |
| DocType | back to summary |
|---|---|
| public DocType(String elementName, String publicID, String systemID) This will create the
| |
| DocType | back to summary |
|---|---|
| public DocType(String elementName, String systemID) This will create the
| |
| DocType | back to summary |
|---|---|
| public DocType(String elementName) This will create the
| |
| getElementName | back to summary |
|---|---|
| public String getElementName() This will retrieve the element name being constrained.
| |
| getInternalSubset | back to summary |
|---|---|
| public String getInternalSubset() This returns the data for the internal subset.
| |
| getPublicID | back to summary |
|---|---|
| public String getPublicID() This will retrieve the public ID of an externally
referenced DTD, or an empty
| |
| getSystemID | back to summary |
|---|---|
| public String getSystemID() This will retrieve the system ID of an externally
referenced DTD, or an empty
| |
| getValue | back to summary |
|---|---|
| public String getValue() Implements abstract org. Returns the empty string since doctypes don't have an XPath 1.0 string value.
| |
| setElementName | back to summary |
|---|---|
| public DocType setElementName(String elementName) This will set the root element name declared by this DOCTYPE declaration.
| |
| setInternalSubset | back to summary |
|---|---|
| public void setInternalSubset(String newData) This sets the data for the internal subset.
| |
| setPublicID | back to summary |
|---|---|
| public DocType setPublicID(String publicID) This will set the public ID of an externally referenced DTD.
| |
| setSystemID | back to summary |
|---|---|
| public DocType setSystemID(String systemID) This will set the system ID of an externally referenced DTD.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. This returns a
| |