Class XHtmlSerializerFactory.XHTMLSerializer

  • All Implemented Interfaces:
    Serializer, ContentHandler, LexicalHandler, Locator
    Enclosing class:
    XHtmlSerializerFactory

    public class XHtmlSerializerFactory.XHTMLSerializer
    extends org.apache.cocoon.components.serializers.util.XHTMLSerializer
    implements Serializer

    A pedantic XHTML serializer encoding all recognized entities with their proper HTML names.

    For configuration options of this serializer, please look at the EncodingSerializer, in addition to those, this serializer also support the specification of a default doctype. This default will be used if no document type is received in the SAX events.

    The value mytype can be one of:

    "none"
    Not to emit any dococument type declaration.
    "strict"
    The XHTML 1.0 Strict document type.
    "loose"
    The XHTML 1.0 Transitional document type.
    "frameset"
    The XHTML 1.0 Frameset document type.
    • Field Summary

      • Fields inherited from class org.apache.cocoon.components.serializers.util.XHTMLSerializer

        doctype_default, encodeCharacters, XHTML1_DOCTYPE_FRAMESET, XHTML1_DOCTYPE_STRICT, XHTML1_DOCTYPE_TRANSITIONAL, XHTML1_NAMESPACE
      • Fields inherited from class org.apache.cocoon.components.serializers.util.XMLSerializer

        doctype
      • Fields inherited from class org.apache.cocoon.components.serializers.util.EncodingSerializer

        ATTRIBUTE_LENGTH, ATTRIBUTE_LOCAL, ATTRIBUTE_NSURI, ATTRIBUTE_QNAME, ATTRIBUTE_VALUE, charset, CONTENT_LIST_ATTRIBUTE, indentPerLevel, NAMESPACE, namespaces, request
    • Constructor Summary

      Constructors 
      Constructor Description
      XHTMLSerializer()