|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.xml.Tag
|
+--com.jdc.xml.SimpleTag
|
+--com.jdc.xml.tag.DocumentType
DocumentType represents a document type definition, an optional part
of an XML document prolog, as specified by the XML standard. The document type
definition (DTD) specifies constraints on the valid tags and tag sequences that can
exist in the XML document.
Declaration,
Serialized Form| Nested Class Summary | |
static interface |
DocumentType.Location
The Location interface provides valid constant values for the
document type definition location attribute. |
| Field Summary |
| Fields inherited from class com.jdc.xml.Tag |
LEFT_BRACKET, RIGHT_BRACKET, SLASH, SPACE |
| Constructor Summary | |
DocumentType()
Constructs a new DocumentType object. |
|
| Method Summary | |
protected String |
getAttributes()
Returns a String of XML document type definition tag attributes. |
DocumentType |
setFile(String name)
Sets the document type definition file name. |
DocumentType |
setLocation(String location)
Sets the document type definition file location. |
DocumentType |
setPublic()
Sets the document type definition file location to be resolved by the parser. |
protected DocumentType |
setReference(String reference)
Sets the document type definition reference. |
DocumentType |
setRoot(String root)
Sets the document type definition root element. |
DocumentType |
setSystem()
Sets the document type definition file location as the local system. |
DocumentType |
toLowerCase()
Converts the document type definition tag to lower case. |
| Methods inherited from class com.jdc.xml.SimpleTag |
create, create, getEndChar, getStartChar, setEndChar, setStartChar, toString |
| Methods inherited from class com.jdc.xml.Tag |
addAttribute, create, getAttribute, getIdentifier, setIdentifier, tag |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DocumentType()
DocumentType object.
| Method Detail |
protected String getAttributes()
String of XML document type definition tag attributes.
getAttributes in class TagString of XML document type definition tag attributes.public DocumentType setFile(String name)
public DocumentType setLocation(String location)
public DocumentType setPublic()
protected DocumentType setReference(String reference)
public DocumentType setRoot(String root)
public DocumentType setSystem()
public DocumentType toLowerCase()
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||