| java.lang.Object org.apache.cocoon.components.serializers.util.DocType
All known Subclasses: org.apache.cocoon.components.serializers.util.SGMLDocType,
DocType | public class DocType (Code) | | The DocType class encapsulates informations regarding
the document type public and system IDs and root element name.
author: Pier Fumagalli, February 2003 version: CVS $Id: DocType.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public boolean | equals(Object object) Check if the specified object is equal to this DocType
instance. | public String | getName() Return the document root element name. | public String | getPublicId() Return the document type public identifier or null if none
configured.. | public String | getSystemId() Return the document type system identifier or null if none
configured.. | public int | hashCode() | public String | toString() |
public_id | protected String public_id(Code) | | The configured system identifier.
|
root_name | protected String root_name(Code) | | The name of the root element.
|
system_id | protected String system_id(Code) | | The configured public identifier.
|
DocType | public DocType(String root_name)(Code) | | Create a new DocType instance.
Parameters: root_name - The document root element name. |
DocType | public DocType(String root_name, String system_id)(Code) | | Create a new DocType instance.
Parameters: root_name - The document root element name. Parameters: system_id - The document type system identifier. |
DocType | public DocType(String root_name, String public_id, String system_id)(Code) | | Create a new DocType instance.
Parameters: root_name - The document root element name. Parameters: public_id - The document type public identifier. Parameters: system_id - The document type system identifier. |
equals | public boolean equals(Object object)(Code) | | Check if the specified object is equal to this DocType
instance.
|
getName | public String getName()(Code) | | Return the document root element name.
|
getPublicId | public String getPublicId()(Code) | | Return the document type public identifier or null if none
configured..
|
getSystemId | public String getSystemId()(Code) | | Return the document type system identifier or null if none
configured..
|
hashCode | public int hashCode()(Code) | | Returns the hash code value for this docType
|
toString | public String toString()(Code) | | Return the document type declaration as a string
|
|
|