org.apache.cocoon.components.serializers.util
Class SGMLDocType

java.lang.Object
  extended by org.apache.cocoon.components.serializers.util.DocType
      extended by org.apache.cocoon.components.serializers.util.SGMLDocType

public class SGMLDocType
extends DocType

The SGMLDocType class encapsulates informations regarding the document type public and system IDs and root element name for SGML (like HTML) documents.

Version:
CVS $Id: SGMLDocType.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Pier Fumagalli, February 2003

Field Summary
 
Fields inherited from class org.apache.cocoon.components.serializers.util.DocType
public_id, root_name, system_id
 
Constructor Summary
SGMLDocType(String root_name)
          Create a new SGMLDocType instance.
SGMLDocType(String root_name, String public_id, String system_id)
          Create a new SGMLDocType instance.
 
Method Summary
 
Methods inherited from class org.apache.cocoon.components.serializers.util.DocType
equals, getName, getPublicId, getSystemId, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SGMLDocType

public SGMLDocType(String root_name)
Create a new SGMLDocType instance.

Parameters:
root_name - The document root element name.

SGMLDocType

public SGMLDocType(String root_name,
                   String public_id,
                   String system_id)
Create a new SGMLDocType instance.

Parameters:
root_name - The document root element name.
public_id - The document type public identifier.
system_id - The document type system identifier.


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.