Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » transformation » [javadoc | source]
org.apache.cocoon.transformation
public class: SourceWritingTransformer [javadoc | source]
java.lang.Object
   org.apache.avalon.framework.logger.AbstractLogEnabled
      org.apache.cocoon.xml.AbstractXMLProducer
         org.apache.cocoon.xml.AbstractXMLPipe
            org.apache.cocoon.transformation.AbstractTransformer
               org.apache.cocoon.transformation.AbstractSAXTransformer
                  org.apache.cocoon.transformation.SourceWritingTransformer

All Implemented Interfaces:
    org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.configuration.Configurable, Transformer, XMLPipe, org.apache.avalon.excalibur.pool.Recyclable, XMLProducer

Field Summary
public static final  String SWT_URI     
public static final  String DEFAULT_SERIALIZER     
public static final  String WRITE_ELEMENT    incoming elements 
public static final  String INSERT_ELEMENT     
public static final  String PATH_ELEMENT     
public static final  String FRAGMENT_ELEMENT     
public static final  String REPLACE_ELEMENT     
public static final  String DELETE_ELEMENT     
public static final  String SOURCE_ELEMENT     
public static final  String REINSERT_ELEMENT     
public static final  String RESULT_ELEMENT    outgoing elements 
public static final  String EXECUTION_ELEMENT     
public static final  String BEHAVIOUR_ELEMENT     
public static final  String ACTION_ELEMENT     
public static final  String MESSAGE_ELEMENT     
public static final  String SERIALIZER_ELEMENT     
public static final  String SERIALIZER_ATTRIBUTE    main (write or insert) tag attributes 
public static final  String CREATE_ATTRIBUTE     
public static final  String OVERWRITE_ATTRIBUTE     
public static final  String RESULT_FAILED    results 
public static final  String RESULT_SUCCESS     
public static final  String ACTION_NONE     
public static final  String ACTION_NEW     
public static final  String ACTION_OVER     
public static final  String ACTION_DELETE     
protected  String configuredSerializerName    The configured serializer name 
protected  XPathProcessor xpathProcessor    The XPath processor 
Fields inherited from org.apache.cocoon.transformation.AbstractSAXTransformer:
EMPTY_ATTRIBUTES,  ignoreWhitespaces,  ignoreEmptyCharacters,  ignoreEventsCount,  ignoreHooksCount,  namespaceURI,  defaultNamespaceURI,  stack,  recorderStack,  request,  response,  context,  objectModel,  parameters,  source,  manager,  resolver,  emptyAttributes
Fields inherited from org.apache.cocoon.xml.AbstractXMLProducer:
EMPTY_CONTENT_HANDLER,  xmlConsumer,  contentHandler,  lexicalHandler
Constructor:
 public SourceWritingTransformer() 
Method from org.apache.cocoon.transformation.SourceWritingTransformer Summary:
configure,   dispose,   endTransformingElement,   insertFragment,   service,   setup,   startTransformingElement
Methods from org.apache.cocoon.transformation.AbstractSAXTransformer:
addRecorder,   characters,   comment,   configure,   dispose,   endCDATA,   endDTD,   endDocument,   endElement,   endEntity,   endParametersRecording,   endParametersRecording,   endPrefixMapping,   endRecording,   endSAXRecording,   endSerializedXMLRecording,   endTextRecording,   endTransformingElement,   findPrefixMapping,   getMutableAttributes,   ignorableWhitespace,   processingInstruction,   recycle,   removeRecorder,   sendEndElementEvent,   sendEndElementEventNS,   sendEndPrefixMapping,   sendEvents,   sendParametersEvents,   sendStartElementEvent,   sendStartElementEvent,   sendStartElementEventNS,   sendStartElementEventNS,   sendStartPrefixMapping,   sendTextEvent,   service,   setDocumentLocator,   setup,   setupTransforming,   skippedEntity,   startCDATA,   startDTD,   startDocument,   startElement,   startEntity,   startParametersRecording,   startPrefixMapping,   startRecording,   startSAXRecording,   startSerializedXMLRecording,   startTextRecording,   startTransformingElement
Methods from org.apache.cocoon.xml.AbstractXMLPipe:
characters,   comment,   endCDATA,   endDTD,   endDocument,   endElement,   endEntity,   endPrefixMapping,   ignorableWhitespace,   processingInstruction,   setDocumentLocator,   skippedEntity,   startCDATA,   startDTD,   startDocument,   startElement,   startEntity,   startPrefixMapping
Methods from org.apache.cocoon.xml.AbstractXMLProducer:
recycle,   setConsumer,   setContentHandler,   setLexicalHandler
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.transformation.SourceWritingTransformer Detail:
 public  void configure(Configuration configuration) throws ConfigurationException 
    Get the current Configuration instance used by this Configurable.
 public  void dispose() 
 public  void endTransformingElement(String uri,
    String name,
    String raw) throws IOException, SAXException, ProcessingException 
    Receive notification of the end of an element.
 protected  void insertFragment(String systemID,
    String path,
    DocumentFragment fragment,
    String replacePath,
    boolean create,
    boolean overwrite,
    String reinsertPath,
    String localSerializer,
    String tagname) throws IOException, SAXException, ProcessingException 
    Insert a fragment into a file. The file is loaded by the resource connector.
 public  void service(ServiceManager manager) throws ServiceException 
 public  void setup(SourceResolver resolver,
    Map objectModel,
    String src,
    Parameters par) throws IOException, SAXException, ProcessingException 
    Get the Parameter called "serializer" from the Transformer invocation.
 public  void startTransformingElement(String uri,
    String name,
    String raw,
    Attributes attr) throws IOException, SAXException, ProcessingException 
    Receive notification of the beginning of an element.