| org.apache.cocoon.transformation.AbstractTransformer org.apache.cocoon.transformation.EncodeURLTransformer
Inner Class :public static class ElementAttributeMatching | |
EXCLUDE_NAME | final public static String EXCLUDE_NAME(Code) | | Configuration name for specifying excluding patterns,
ie exclude-name.
|
EXCLUDE_NAME_DEFAULT | final public static String EXCLUDE_NAME_DEFAULT(Code) | | Configuration default exclude pattern,
ie img/@src
|
INCLUDE_NAME | final public static String INCLUDE_NAME(Code) | | Configuration name for specifying including patterns,
ie include-name.
|
INCLUDE_NAME_DEFAULT | final public static String INCLUDE_NAME_DEFAULT(Code) | | Configuration default exclude pattern,
ie .*\/@href|.*\/@action|frame/@src
|
checkForEncoding | protected void checkForEncoding(Request request)(Code) | | check if encoding of URLs is neccessary.
This is true if session object exists, and session-id
was provided from URL, or session is new.
The result is stored in some instance variables
|
configure | public void configure(Configuration configuration) throws ConfigurationException(Code) | | BEGIN SitemapComponent methods
Parameters: configuration - Description of Parameter exception: ConfigurationException - Description of Exception |
getKey | public java.io.Serializable getKey()(Code) | | Generate the unique key.
This key must be unique inside the space of this component.
The generated key hashes the src |
getValidity | public SourceValidity getValidity()(Code) | | Generate the validity object.
The generated validity object or null if thecomponent is currently not cacheable. |
recycle | public void recycle()(Code) | | Recycle resources of this transformer
|
setup | public void setup(SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws ProcessingException, SAXException, IOException(Code) | | Setup the transformer.
Setup include, and exclude patterns from the parameters
Parameters: resolver - source resolver Parameters: objectModel - sitemap objects Parameters: parameters - request parameters |
startElement | public void startElement(String uri, String name, String raw, Attributes attributes) throws SAXException(Code) | | Start parsing an element
Parameters: uri - of the element Parameters: name - of the element Parameters: raw - name of the element Parameters: attributes - list exception: SAXException - Description of Exception |
|
|