|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.xml.AbstractXMLPipe
org.apache.cocoon.transformation.AbstractTransformer
org.apache.cocoon.transformation.WriteDOMSessionTransformer
| Field Summary | |
static String |
DOM_NAME
|
static String |
DOM_ROOT_ELEMENT
|
| Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer |
| Fields inherited from interface org.apache.cocoon.transformation.Transformer |
ROLE |
| Constructor Summary | |
WriteDOMSessionTransformer()
|
|
| Method Summary | |
void |
characters(char[] c,
int start,
int len)
Receive notification of character data. |
void |
endCDATA()
Report the end of a CDATA section. |
void |
endElement(String uri,
String name,
String raw)
Receive notification of the end of an element. |
protected void |
launchStoredMappings()
|
void |
recycle()
Recyclable |
void |
setup(SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters)
BEGIN SitemapComponent methods |
void |
startCDATA()
Report the start of a CDATA section. |
void |
startElement(String uri,
String name,
String raw,
Attributes attributes)
Receive notification of the beginning of an element. |
void |
startPrefixMapping(String prefix,
String uri)
BEGIN SAX ContentHandler handlers |
protected void |
storePrefixMapping(String prefix,
String uri)
END SAX ContentHandler handlers |
| Methods inherited from class org.apache.cocoon.xml.AbstractXMLPipe |
comment, endDocument, endDTD, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startDTD, startEntity |
| Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
setConsumer, setContentHandler, setLexicalHandler |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| 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 |
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument |
| Methods inherited from interface org.xml.sax.ext.LexicalHandler |
comment, endDTD, endEntity, startDTD, startEntity |
| Methods inherited from interface org.apache.cocoon.xml.XMLProducer |
setConsumer |
| Field Detail |
public static final String DOM_NAME
public static final String DOM_ROOT_ELEMENT
| Constructor Detail |
public WriteDOMSessionTransformer()
| Method Detail |
public void recycle()
recycle in interface Recyclablerecycle in class AbstractXMLProducer
public void setup(SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters)
throws ProcessingException,
SAXException,
IOException
ProcessingException
SAXException
IOException
public void startPrefixMapping(String prefix,
String uri)
throws SAXException
startPrefixMapping in interface ContentHandlerstartPrefixMapping in class AbstractXMLPipeprefix - The Namespace prefix being declared.uri - The Namespace URI the prefix is mapped to.
SAXException
public void startElement(String uri,
String name,
String raw,
Attributes attributes)
throws SAXException
AbstractXMLPipe
startElement in interface ContentHandlerstartElement in class AbstractXMLPipeuri - The Namespace URI, or the empty string if the element has no
Namespace URI or if Namespace
processing is not being performed.name - The local name (without prefix), or the empty string if
Namespace processing is not being performed.raw - The raw XML 1.0 name (with prefix), or the empty string if
raw names are not available.attributes - The attributes attached to the element. If there are no
attributes, it shall be an empty Attributes object.
SAXException
public void endElement(String uri,
String name,
String raw)
throws SAXException
AbstractXMLPipe
endElement in interface ContentHandlerendElement in class AbstractXMLPipeuri - The Namespace URI, or the empty string if the element has no
Namespace URI or if Namespace
processing is not being performed.name - The local name (without prefix), or the empty string if
Namespace processing is not being performed.raw - The raw XML 1.0 name (with prefix), or the empty string if
raw names are not available.
SAXException
public void characters(char[] c,
int start,
int len)
throws SAXException
AbstractXMLPipe
characters in interface ContentHandlercharacters in class AbstractXMLPipec - The characters from the XML document.start - The start position in the array.len - The number of characters to read from the array.
SAXException
public void startCDATA()
throws SAXException
AbstractXMLPipe
startCDATA in interface LexicalHandlerstartCDATA in class AbstractXMLPipeSAXException
public void endCDATA()
throws SAXException
AbstractXMLPipe
endCDATA in interface LexicalHandlerendCDATA in class AbstractXMLPipeSAXException
protected void storePrefixMapping(String prefix,
String uri)
protected void launchStoredMappings()
throws SAXException
SAXException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||