Package org.ametys.core.cocoon
Class XHTMLFragmentSerializer
java.lang.Object
org.apache.cocoon.components.serializers.EncodingSerializer
org.apache.cocoon.components.serializers.XMLSerializer
org.ametys.core.cocoon.XHTMLFragmentSerializer
- All Implemented Interfaces:
Poolable,Recyclable,Component,Configurable,Serializer,SitemapOutputComponent,XMLConsumer,XMLConsumer,ContentHandler,LexicalHandler,Locator
Inherits from cocoon's serializers block XMLSerializer.
Empty tags are not collapsed except the ones configured with
tags-to-collapse.
If there is no such configuration, default tags to collaspe are:
- input
- img
- meta
- link
- hr
- br
-
Field Summary
Fields inherited from class org.apache.cocoon.components.serializers.XMLSerializer
doctypeFields inherited from class org.apache.cocoon.components.serializers.EncodingSerializer
ATTRIBUTE_LENGTH, ATTRIBUTE_LOCAL, ATTRIBUTE_NSURI, ATTRIBUTE_QNAME, ATTRIBUTE_VALUE, charset, indentPerLevel, namespacesFields inherited from interface org.apache.cocoon.serialization.Serializer
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(Configuration conf) voidendElementImpl(String uri, String local, String qual) Methods inherited from class org.apache.cocoon.components.serializers.XMLSerializer
body, charactersImpl, closeElement, comment, endCDATA, endDocument, endDTD, endEntity, getMimeType, head, ignorableWhitespace, processingInstruction, recycle, skippedEntity, startCDATA, startDocument, startDTD, startElementImpl, startEntityMethods inherited from class org.apache.cocoon.components.serializers.EncodingSerializer
characters, encode, encode, encode, endElement, endPrefixMapping, flush, getColumnNumber, getLineNumber, getLocation, getPublicId, getSystemId, setDocumentLocator, setOutputStream, shouldSetContentLength, startElement, startPrefixMapping, write, write, write, write, write, writeIndent, writeln, writelnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
XHTMLFragmentSerializer
public XHTMLFragmentSerializer()
-
-
Method Details
-
configure
- Specified by:
configurein interfaceConfigurable- Overrides:
configurein classEncodingSerializer- Throws:
ConfigurationException
-
endElementImpl
- Overrides:
endElementImplin classXMLSerializer- Throws:
SAXException
-