This project has retired. For details please refer to its
Attic page .
ParametersRecorder (Cocoon API 2.1.12-dev [March 20 2012])
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: XMLConsumer , ContentHandler , LexicalHandler
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:
CVS $Id: ParametersRecorder.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler
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-2010 The Apache Software Foundation. All Rights Reserved.