Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cocoon.sax.component
Class RegexpLinkRewriterTransformer

    java.lang.Object
      org.apache.cocoon.pipeline.component.AbstractPipelineComponent
          org.apache.cocoon.sax.AbstractSAXPipelineComponent
              org.apache.cocoon.sax.AbstractSAXProducer
                  org.apache.cocoon.sax.AbstractSAXTransformer
                      org.apache.cocoon.sax.component.AbstractLinkRewriterTransformer
                          org.apache.cocoon.sax.component.RegexpLinkRewriterTransformer

All Implemented Interfaces:
  CachingPipelineComponent, Consumer, PipelineComponent, Producer, SAXConsumer, SAXPipelineComponent, SAXProducer, ContentHandler, LexicalHandler

    public class RegexpLinkRewriterTransformer

extends AbstractLinkRewriterTransformer

Field Summary

Fields inherited from class org.apache.cocoon.sax.component.AbstractLinkRewriterTransformer
`ALL_NAMESPACES, EMPTY_NAMESPACE, LOG`

Constructor Summary
`RegexpLinkRewriterTransformer()`
`RegexpLinkRewriterTransformer(Map<String,String> regexpMatch)`

Method Summary
`protected String` | `rewrite(String elementNS, String elementName, String attributeNS, String attributeName, String link)`
`void` | `setup(Map<String,Object> parameters)` The shared object map for this pipeline run.

Methods inherited from class org.apache.cocoon.sax.component.AbstractLinkRewriterTransformer
`addElement, addElement, constructCacheKey, setConfiguration, startElement`

Methods inherited from class org.apache.cocoon.sax.AbstractSAXTransformer
`characters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, endSAXRecording, ignorableWhitespace, processingInstruction, removeRecorder, sendEndPrefixMapping, sendStartPrefixMapping, setDocumentLocator, setRecorder, skippedEntity, startCDATA, startDocument, startDTD, startEntity, startPrefixMapping, startSAXRecording`

Methods inherited from class org.apache.cocoon.sax.AbstractSAXProducer
`getSAXConsumer, setConsumer, setSAXConsumer, toString`

Methods inherited from class org.apache.cocoon.pipeline.component.AbstractPipelineComponent
`finish`

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`

Constructor Detail

### RegexpLinkRewriterTransformer

    public RegexpLinkRewriterTransformer()

### RegexpLinkRewriterTransformer

    public RegexpLinkRewriterTransformer(Map<String,String> regexpMatch)

Method Detail

### setup

    public void setup(Map<String,Object> parameters)

  Description copied from interface: `PipelineComponent`
  The shared object map for this pipeline run.

  Specified by:
    `setup` in interface `PipelineComponent`
  Overrides:
    `setup` in class `AbstractLinkRewriterTransformer`
  Parameters:
    `parameters` - A `Map` of parameters that are available to all `PipelineComponent`s. This is a modifiable map that can be changed by this pipeline component.

### rewrite

    protected String rewrite(String elementNS,
                             String elementName,
                             String attributeNS,
                             String attributeName,
                             String link)
                      throws LinkRewriterException

  Specified by:
    `rewrite` in class `AbstractLinkRewriterTransformer`
  Throws:
    `LinkRewriterException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.