| org.apache.cocoon.xml.AbstractXMLPipe org.apache.cocoon.serialization.AbstractSerializer org.apache.cocoon.serialization.AbstractTextSerializer
All known Subclasses: org.apache.cocoon.serialization.RTFSerializer, org.apache.cocoon.serialization.TextSerializer, org.apache.cocoon.serialization.XMLSerializer, org.apache.cocoon.serialization.HTMLSerializer,
Inner Class :public static class NamespaceAsAttributes extends AbstractXMLPipe | |
Field Summary | |
final protected Properties | format The Properties used by this serializer. |
format | final protected Properties format(Code) | | The Properties used by this serializer.
|
configure | public void configure(Configuration conf) throws ConfigurationException(Code) | | Set the configurations for this serializer.
|
contextualize | public void contextualize(Context context) throws ContextException(Code) | | Uses the context to retrieve a default encoding for the serializers.
|
getKey | public java.io.Serializable getKey()(Code) | | Generate the unique key.
This key must be unique inside the space of this component.
This method must be invoked before the generateValidity() method.
The generated key or 0 if the componentis currently not cacheable. |
getValidity | public SourceValidity getValidity()(Code) | | Generate the validity object.
Before this method can be invoked the generateKey() method
must be invoked.
The generated validity object or null if thecomponent is currently not cacheable. |
needsNamespacesAsAttributes | protected boolean needsNamespacesAsAttributes() throws Exception(Code) | | Checks if the used Trax implementation correctly handles namespaces set using
startPrefixMapping() , but wants them also as 'xmlns:' attributes.
The check consists in sending SAX events representing a minimal namespaced document
with namespaces defined only with calls to startPrefixMapping (no
xmlns:xxx attributes) and check if they are present in the resulting text.
|
recycle | public void recycle()(Code) | | See Also: org.apache.avalon.excalibur.pool.Recyclable.recycle |
setConsumer | public void setConsumer(XMLConsumer consumer)(Code) | | Interpose namespace pipe if needed.
|
setContentHandler | public void setContentHandler(ContentHandler handler)(Code) | | Interpose namespace pipe if needed.
|
setLexicalHandler | public void setLexicalHandler(LexicalHandler handler)(Code) | | Interpose namespace pipe if needed.
|
Methods inherited from org.apache.cocoon.xml.AbstractXMLPipe | public void characters(char c, int start, int len) throws SAXException(Code)(Java Doc) public void comment(char ch, int start, int len) throws SAXException(Code)(Java Doc) public void endCDATA() throws SAXException(Code)(Java Doc) public void endDTD() throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String loc, String raw) throws SAXException(Code)(Java Doc) public void endEntity(String name) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char c, int start, int len) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startCDATA() throws SAXException(Code)(Java Doc) public void startDTD(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String loc, String raw, Attributes a) throws SAXException(Code)(Java Doc) public void startEntity(String name) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc)
|
|
|