Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » transformation » [javadoc | source]
org.apache.cocoon.transformation
public class: CIncludeTransformer [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.CIncludeTransformer

All Implemented Interfaces:
    CacheableProcessingComponent, 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 CINCLUDE_NAMESPACE_URI     
public static final  String CINCLUDE_INCLUDE_ELEMENT     
public static final  String CINCLUDE_INCLUDE_ELEMENT_SRC_ATTRIBUTE     
public static final  String CINCLUDE_INCLUDE_ELEMENT_ELEMENT_ATTRIBUTE     
public static final  String CINCLUDE_INCLUDE_ELEMENT_SELECT_ATTRIBUTE     
public static final  String CINCLUDE_INCLUDE_ELEMENT_NS_ATTRIBUTE     
public static final  String CINCLUDE_INCLUDE_ELEMENT_PREFIX_ATTRIBUTE     
public static final  String CINCLUDE_INCLUDE_ELEMENT_STRIP_ROOT_ATTRIBUTE     
public static final  String CINCLUDE_INCLUDEXML_ELEMENT     
public static final  String CINCLUDE_INCLUDEXML_ELEMENT_IGNORE_ERRORS_ATTRIBUTE     
public static final  String CINCLUDE_SRC_ELEMENT     
public static final  String CINCLUDE_CONFIGURATION_ELEMENT     
public static final  String CINCLUDE_PARAMETERS_ELEMENT     
public static final  String CINCLUDE_PARAMETER_ELEMENT     
public static final  String CINCLUDE_NAME_ELEMENT     
public static final  String CINCLUDE_VALUE_ELEMENT     
public static final  String CINCLUDE_CACHED_INCLUDE_ELEMENT     
protected static final  String CINCLUDE_CACHED_INCLUDE_PLACEHOLDER_ELEMENT     
protected  Parameters configurationParameters    The configuration of includexml 
protected  SourceParameters resourceParameters    The parameters for includexml 
protected  int state    The current state: STATE_ 
protected  IncludeCacheManager cacheManager     
protected  IncludeCacheManagerSession cachingSession     
protected  boolean compiling     
protected  IncludeXMLConsumer filter     
protected  XMLSerializer recorder     
protected  AttributesImpl srcAttributes     
protected  boolean supportCaching     
protected  long startTime    Remember the start time of the request for profiling 
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 CIncludeTransformer() 
Method from org.apache.cocoon.transformation.CIncludeTransformer Summary:
dispose,   endCompiledXMLRecording,   endDocument,   endTransformingElement,   getKey,   getValidity,   processCIncludeElement,   recycle,   service,   setup,   startCompiledXMLRecording,   startDocument,   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.CIncludeTransformer Detail:
 public  void dispose() 
 protected Object endCompiledXMLRecording() throws SAXException 
    Stop recording of compiled XML.
 public  void endDocument() throws SAXException 
 public  void endTransformingElement(String uri,
    String name,
    String raw) throws IOException, SAXException, ProcessingException 
 public Serializable getKey() 
 public SourceValidity getValidity() 
 protected String processCIncludeElement(String src,
    String element,
    String select,
    String ns,
    String prefix,
    boolean stripRoot,
    boolean cache) throws IOException, SAXException 
 public  void recycle() 
    Recycle the component
 public  void service(ServiceManager manager) throws ServiceException 
 public  void setup(SourceResolver resolver,
    Map objectModel,
    String source,
    Parameters parameters) throws IOException, SAXException, ProcessingException 
    Setup the component.
 protected  void startCompiledXMLRecording() throws SAXException 
    Start recording of compiled xml. The incomming SAX events are recorded and a compiled representation is created. These events are not forwarded to the next component in the pipeline.
 public  void startDocument() throws SAXException 
 public  void startTransformingElement(String uri,
    String name,
    String raw,
    Attributes attr) throws IOException, SAXException, ProcessingException