public class XHtmlSerializerFactory.XHTMLSerializer extends org.apache.cocoon.components.serializers.util.XHTMLSerializer implements Serializer
A pedantinc 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"strict"loose"frameset"| Constructor and Description |
|---|
XHTMLSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Dispose the serializer.
|
void |
init(ProcessingContext context,
ProcessingComponentConfiguration config)
Initialize this component.
|
body, encode, endElementImpl, getMimeType, head, isCdataElement, setDoctypeDefault, setOmitXmlDeclaration, startElementImplcharactersImpl, closeElement, comment, endCDATA, endDocument, endDTD, endEntity, ignorableWhitespace, processingInstruction, recycle, skippedEntity, startCDATA, startDocument, startDTD, startEntitycharacters, encode, encode, endElement, endPrefixMapping, flush, getColumnNumber, getLineNumber, getLocation, getPublicId, getSystemId, include, setDocumentLocator, setEncoding, setIndentPerLevel, setOutputStream, setup, startElement, startPrefixMapping, write, write, write, write, write, writeIndent, writeln, writelnclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMappingpublic void init(ProcessingContext context, ProcessingComponentConfiguration config) throws IOException
Serializerinit in interface Serializercontext - The invocation context.config - The configuration for this component.IOExceptionSerializer.init(org.apache.sling.rewriter.ProcessingContext, org.apache.sling.rewriter.ProcessingComponentConfiguration)public void dispose()
Serializerdispose in interface SerializerSerializer.dispose()Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.