This project has retired. For details please refer to its
Attic page .
ParametersRecorder (Cocoon Pipeline Implementation 1.0.0 API)
org.apache.cocoon.transformation.helpers
Class ParametersRecorder
java.lang.Object
org.apache.cocoon.transformation.helpers.NOPRecorder
org.apache.cocoon.transformation.helpers.ParametersRecorder
All Implemented Interfaces: ContentHandler , LexicalHandler , XMLConsumer , org.apache.cocoon.xml.XMLConsumer
public final class ParametersRecorder extends NOPRecorder
This class records SAX Events and generates Parameters from them
The xml is flat and consists of elements which all have exactly one text node:
value_one
value_two
Version:
$Id: ParametersRecorder.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Constructor Summary
ParametersRecorder ()
If source is null a new Parameters object is created
Otherwise they are joined.
Methods inherited from class org.apache.cocoon.transformation.helpers.NOPRecorder
comment , endCDATA , endDocument , endDTD , endEntity , endPrefixMapping , ignorableWhitespace , processingInstruction , setDocumentLocator , skippedEntity , startCDATA , startDocument , startDTD , startEntity , startPrefixMapping
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
ParametersRecorder
public ParametersRecorder ()
If source is null a new Parameters object is created
Otherwise they are joined.
getParameters
public SourceParameters getParameters (Parameters source)
getParameters
public SourceParameters getParameters (SourceParameters source)
startElement
public void startElement (String namespace,
String name,
String raw,
Attributes attr)
throws SAXException
Specified by: startElement in interface ContentHandler Overrides: startElement in class NOPRecorder
Throws:
SAXException
endElement
public void endElement (String namespace,
String name,
String raw)
throws SAXException
Specified by: endElement in interface ContentHandler Overrides: endElement in class NOPRecorder
Throws:
SAXException
characters
public void characters (char[] ary,
int start,
int length)
throws SAXException
Specified by: characters in interface ContentHandler Overrides: characters in class NOPRecorder
Throws:
SAXException
Copyright © 1999-2008 The Apache Software Foundation . All Rights Reserved.