| org.apache.cocoon.transformation.AbstractTransformer org.apache.cocoon.transformation.AbstractExtractionTransformer org.apache.cocoon.transformation.SimpleFormInstanceExtractionTransformer
SimpleFormInstanceExtractionTransformer | public class SimpleFormInstanceExtractionTransformer extends AbstractExtractionTransformer implements Configurable,Serviceable(Code) | | author: Christian Haul version: CVS $Id: SimpleFormInstanceExtractionTransformer.java 433543 2006-08-22 06:22:54Z crossley $ |
Inner Class :protected static class ElementData | |
Method Summary | |
public void | configure(Configuration config) | public boolean | endExtracting(String uri, String loc, String raw) Receive notification of the beginning of an element. | public void | endExtractingDocument(String uri, String loc, String raw) End root element and replace it with the instance name. | public void | handleExtractedDocument(Document doc) Receive notification of the end of the extracted Document. | public void | recycle() | public void | service(ServiceManager manager) | public void | setup(SourceResolver resolver, Map objectModel, String src, Parameters parameters) Setup the transformer. | public boolean | startExtracting(String uri, String loc, String raw, Attributes a) Receive notification of the beginning of an element.
Parameters: uri - The Namespace URI, or the empty string if the element has noNamespace URI or if Namespaceprocessing is not being performed. Parameters: loc - The local name (without prefix), or the empty string ifNamespace processing is not being performed. Parameters: raw - The raw XML 1.0 name (with prefix), or the empty string ifraw names are not available. Parameters: a - The attributes attached to the element. | public void | startExtractingDocument(String uri, String loc, String raw, Attributes a) Start root element and replace it with the instance name. |
OUTPUT_MODULE_SELECTOR | final protected static String OUTPUT_MODULE_SELECTOR(Code) | | |
manager | ServiceManager manager(Code) | | |
nameAsRoot | boolean nameAsRoot(Code) | | |
nameElement | ElementData nameElement(Code) | | |
outputConf | Configuration outputConf(Code) | | |
startElement | ElementData startElement(Code) | | |
configure | public void configure(Configuration config) throws ConfigurationException(Code) | | |
endExtracting | public boolean endExtracting(String uri, String loc, String raw)(Code) | | Receive notification of the beginning of an element.
Parameters: uri - The Namespace URI, or the empty string if the element has noNamespace URI or if Namespaceprocessing is not being performed. Parameters: loc - The local name (without prefix), or the empty string ifNamespace processing is not being performed. Parameters: raw - The raw XML 1.0 name (with prefix), or the empty string if a boolean value to signal to stop extracting |
handleExtractedDocument | public void handleExtractedDocument(Document doc)(Code) | | Receive notification of the end of the extracted Document.
Parameters: doc - a Document value |
recycle | public void recycle()(Code) | | |
service | public void service(ServiceManager manager) throws ServiceException(Code) | | |
startExtracting | public boolean startExtracting(String uri, String loc, String raw, Attributes a)(Code) | | Receive notification of the beginning of an element.
Parameters: uri - The Namespace URI, or the empty string if the element has noNamespace URI or if Namespaceprocessing is not being performed. Parameters: loc - The local name (without prefix), or the empty string ifNamespace processing is not being performed. Parameters: raw - The raw XML 1.0 name (with prefix), or the empty string ifraw names are not available. Parameters: a - The attributes attached to the element. If there are noattributes, it shall be an empty Attributes object. a boolean value to signal to start extracting |
Methods inherited from org.apache.cocoon.transformation.AbstractExtractionTransformer | 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 endElement(String uri, String loc, String raw) throws SAXException(Code)(Java Doc) public void endEntity(String name) throws SAXException(Code)(Java Doc) abstract boolean endExtracting(String uri, String loc, String raw)(Code)(Java Doc) public void endExtractingDocument(String uri, String loc, String raw) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) abstract void handleExtractedDocument(Document doc)(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 recycle()(Code)(Java Doc) public void setup(SourceResolver resolver, Map objectModel, String src, Parameters parameters) throws ProcessingException, SAXException, IOException(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 startElement(String uri, String loc, String raw, Attributes a) throws SAXException(Code)(Java Doc) public void startEntity(String name) throws SAXException(Code)(Java Doc) abstract boolean startExtracting(String uri, String loc, String raw, Attributes a)(Code)(Java Doc) public void startExtractingDocument(String uri, String loc, String raw, Attributes a) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc)
|
|
|