|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.components.serializers.util.DocType
The DocType
class encapsulates informations regarding
the document type public and system IDs and root element name.
Field Summary | |
protected String |
public_id
The configured system identifier. |
protected String |
root_name
The name of the root element. |
protected String |
system_id
The configured public identifier. |
Constructor Summary | |
DocType(String root_name)
Create a new DocType instance. |
|
DocType(String root_name,
String system_id)
Create a new DocType instance. |
|
DocType(String root_name,
String public_id,
String system_id)
Create a new DocType instance. |
Method Summary | |
boolean |
equals(Object object)
Check if the specified object is equal to this DocType
instance. |
String |
getName()
Return the document root element name. |
String |
getPublicId()
Return the document type public identifier or null if none configured.. |
String |
getSystemId()
Return the document type system identifier or null if none configured.. |
String |
toString()
Return the document type declaration as a string |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected String root_name
protected String public_id
protected String system_id
Constructor Detail |
public DocType(String root_name)
DocType
instance.
root_name
- The document root element name.public DocType(String root_name, String system_id)
DocType
instance.
root_name
- The document root element name.system_id
- The document type system identifier.public DocType(String root_name, String public_id, String system_id)
DocType
instance.
root_name
- The document root element name.public_id
- The document type public identifier.system_id
- The document type system identifier.Method Detail |
public String getName()
public String getPublicId()
public String getSystemId()
public String toString()
public boolean equals(Object object)
DocType
instance.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |