|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.pipeline.component.AbstractPipelineComponent
org.apache.cocoon.sax.AbstractSAXPipelineComponent
org.apache.cocoon.sax.AbstractSAXProducer
org.apache.cocoon.sax.AbstractSAXTransformer
public abstract class AbstractSAXTransformer
| Constructor Summary | |
|---|---|
AbstractSAXTransformer()
|
|
| Method Summary | |
|---|---|
void |
characters(char[] ch,
int start,
int length)
|
void |
comment(char[] ch,
int start,
int length)
|
void |
endCDATA()
|
void |
endDocument()
|
void |
endDTD()
|
void |
endElement(String uri,
String localName,
String name)
|
void |
endEntity(String name)
|
void |
endPrefixMapping(String prefix)
|
org.apache.cocoon.xml.sax.SAXBuffer |
endSAXRecording()
Stop recording of SAX events. |
String |
endTextRecording()
Stop recording of text and return the recorded information. |
protected String |
findPrefixMapping(String uri)
Find prefix mapping for the given namespace URI. |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
|
void |
processingInstruction(String target,
String data)
|
protected ContentHandler |
removeRecorder()
Remove a recorder. |
protected void |
sendEndPrefixMapping()
Send all end prefix mapping events to the current content handler |
protected void |
sendStartPrefixMapping()
Send all start prefix mapping events to the current content handler |
void |
setDocumentLocator(Locator locator)
|
protected void |
setRecorder(ContentHandler recorder)
Set a recorder. |
void |
skippedEntity(String name)
|
void |
startCDATA()
|
void |
startDocument()
|
void |
startDTD(String name,
String publicId,
String systemId)
|
void |
startElement(String uri,
String localName,
String name,
Attributes atts)
|
void |
startEntity(String name)
|
void |
startPrefixMapping(String prefix,
String uri)
|
void |
startSAXRecording()
Start recording of SAX events. |
void |
startTextRecording()
Start recording of a text. |
| Methods inherited from class org.apache.cocoon.sax.AbstractSAXProducer |
|---|
getSAXConsumer, setConsumer, setSAXConsumer, toString |
| Methods inherited from class org.apache.cocoon.pipeline.component.AbstractPipelineComponent |
|---|
finish, setConfiguration, setup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.cocoon.pipeline.component.PipelineComponent |
|---|
finish, setConfiguration, setup |
| Constructor Detail |
|---|
public AbstractSAXTransformer()
| Method Detail |
|---|
public void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlerSAXException
public void comment(char[] ch,
int start,
int length)
throws SAXException
comment in interface LexicalHandlerSAXException
public void endCDATA()
throws SAXException
endCDATA in interface LexicalHandlerSAXException
public void endDocument()
throws SAXException
endDocument in interface ContentHandlerSAXException
public void endDTD()
throws SAXException
endDTD in interface LexicalHandlerSAXException
public void endElement(String uri,
String localName,
String name)
throws SAXException
endElement in interface ContentHandlerSAXException
public void endEntity(String name)
throws SAXException
endEntity in interface LexicalHandlerSAXException
public void endPrefixMapping(String prefix)
throws SAXException
endPrefixMapping in interface ContentHandlerSAXExceptionprotected String findPrefixMapping(String uri)
public void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
ignorableWhitespace in interface ContentHandlerSAXException
public void processingInstruction(String target,
String data)
throws SAXException
processingInstruction in interface ContentHandlerSAXExceptionpublic void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandler
public void skippedEntity(String name)
throws SAXException
skippedEntity in interface ContentHandlerSAXException
public void startCDATA()
throws SAXException
startCDATA in interface LexicalHandlerSAXException
public void startDocument()
throws SAXException
startDocument in interface ContentHandlerSAXException
public void startDTD(String name,
String publicId,
String systemId)
throws SAXException
startDTD in interface LexicalHandlerSAXException
public void startElement(String uri,
String localName,
String name,
Attributes atts)
throws SAXException
startElement in interface ContentHandlerSAXException
public void startEntity(String name)
throws SAXException
startEntity in interface LexicalHandlerSAXException
public void startPrefixMapping(String prefix,
String uri)
throws SAXException
startPrefixMapping in interface ContentHandlerSAXExceptionprotected void setRecorder(ContentHandler recorder)
recorder - protected ContentHandler removeRecorder()
public void startSAXRecording()
throws SAXException
endSAXRecording() call.
SAXException
public org.apache.cocoon.xml.sax.SAXBuffer endSAXRecording()
throws SAXException
SAXException
protected void sendStartPrefixMapping()
throws SAXException
SAXException
protected void sendEndPrefixMapping()
throws SAXException
SAXException
public void startTextRecording()
throws SAXException
SAXException
public String endTextRecording()
throws SAXException
SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||