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
doctype
Fields inherited from class org.apache.cocoon.components.serializers.EncodingSerializer
ATTRIBUTE_LENGTH, ATTRIBUTE_LOCAL, ATTRIBUTE_NSURI, ATTRIBUTE_QNAME, ATTRIBUTE_VALUE, charset, indentPerLevel, namespaces
Fields inherited from interface org.apache.cocoon.serialization.Serializer
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Configuration conf) void
endElementImpl
(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, startEntity
Methods 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, writeln
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
XHTMLFragmentSerializer
public XHTMLFragmentSerializer()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceConfigurable
- Overrides:
configure
in classEncodingSerializer
- Throws:
ConfigurationException
-
endElementImpl
- Overrides:
endElementImpl
in classXMLSerializer
- Throws:
SAXException
-