This project has retired. For details please refer to its
Attic page .
Web3RfcTransformer (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.transformation
Class Web3RfcTransformer
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.Web3RfcTransformer
All Implemented Interfaces: Poolable , Recyclable , Disposable , Component , Configurable , LogEnabled , Serviceable , SitemapModelComponent , Transformer , XMLPipe , XMLProducer , XMLConsumer , ContentHandler , LexicalHandler
public class Web3RfcTransformer extends AbstractTransformer implements Serviceable , Disposable , Configurable , Poolable , Recyclable
TBD
Since:
2.1
Version:
CVS $Id: Web3RfcTransformer.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Michael Gerzabek
Fields inherited from interface org.apache.cocoon.transformation.Transformer
ROLE
Method Summary
void
characters (char[] c,
int start,
int len)
Receive notification of the end of an element.
void
configure (Configuration configuration)
void
dispose ()
Free all ressources
void
endElement (String uri,
String loc,
String raw)
Receive notification of the end of an element.
protected void
initTags ()
void
recycle ()
Recycle the producer by removing references, and resetting handlers to
null (empty) implementations.
void
service (ServiceManager manager)
void
setup (SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters)
Set the SourceResolver
, objectModel Map
,
the source and sitemap Parameters
used to process the request.
void
startElement (String uri,
String loc,
String raw,
Attributes a)
Receive notification of the beginning of an element.
Methods inherited from class org.apache.cocoon.xml.AbstractXMLPipe
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
manager
protected ServiceManager manager
The service manager instance
web3source
protected Web3DataSource web3source
connection
protected Web3Client connection
repository
protected com.sap.mw.jco.JCO.Repository repository
functionT
protected com.sap.mw.jco.IFunctionTemplate functionT
function
protected com.sap.mw.jco.JCO.Function function
importParameterList
protected com.sap.mw.jco.JCO.ParameterList importParameterList
tablesParameterList
protected com.sap.mw.jco.JCO.ParameterList tablesParameterList
theRecord
protected com.sap.mw.jco.JCO.Record theRecord
fillMe
protected com.sap.mw.jco.JCO.Field fillMe
attributes
protected AttributesImpl attributes
startcount
protected int startcount
error
protected boolean error
backend
protected String backend
default_backend
protected String default_backend
streamer
protected String streamer
tags
protected HashMap tags
INCLUDE_ELEM
protected static final int INCLUDE_ELEM
See Also: Constant Field Values
IMPORT_ELEM
protected static final int IMPORT_ELEM
See Also: Constant Field Values
EXPORT_ELEM
protected static final int EXPORT_ELEM
See Also: Constant Field Values
TABLES_ELEM
protected static final int TABLES_ELEM
See Also: Constant Field Values
FIELD_ELEM
protected static final int FIELD_ELEM
See Also: Constant Field Values
ROW_ELEM
protected static final int ROW_ELEM
See Also: Constant Field Values
STRUCTURE_ELEM
protected static final int STRUCTURE_ELEM
See Also: Constant Field Values
TABLE_ELEM
protected static final int TABLE_ELEM
See Also: Constant Field Values
Web3RfcTransformer
public Web3RfcTransformer ()
configure
public void configure (Configuration configuration)
throws ConfigurationException
Specified by: configure
in interface Configurable
Throws:
ConfigurationException
service
public void service (ServiceManager manager)
throws ServiceException
Specified by: service
in interface Serviceable
Throws:
ServiceException
setup
public void setup (SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters)
throws SAXException
Description copied from interface: SitemapModelComponent
Set the SourceResolver
, objectModel Map
,
the source and sitemap Parameters
used to process the request.
Specified by: setup
in interface SitemapModelComponent
Throws:
SAXException
recycle
public void recycle ()
Description copied from class: AbstractXMLProducer
Recycle the producer by removing references, and resetting handlers to
null (empty) implementations.
Specified by: recycle
in interface Recyclable
Overrides: recycle
in class AbstractXMLProducer
dispose
public void dispose ()
Free all ressources
Specified by: dispose
in interface Disposable
startElement
public void startElement (String uri,
String loc,
String raw,
Attributes a)
throws SAXException
Receive notification of the beginning of an element.
Specified by: startElement
in interface ContentHandler
Overrides: startElement
in class AbstractXMLPipe
Parameters: uri
- The Namespace URI, or the empty string if the element has no
Namespace URI or if Namespace
processing is not being performed.loc
- The local name (without prefix), or the empty string if
Namespace processing is not being performed.raw
- The raw XML 1.0 name (with prefix), or the empty string if
raw names are not available.a
- The attributes attached to the element. If there are no
attributes, it shall be an empty Attributes object.
Throws:
SAXException
characters
public void characters (char[] c,
int start,
int len)
throws SAXException
Receive notification of the end of an element.
Specified by: characters
in interface ContentHandler
Overrides: characters
in class AbstractXMLPipe
Parameters: c
- The characters from the XML document.start
- The start position in the array.len
- The number of characters to read from the array.
Throws:
SAXException
endElement
public void endElement (String uri,
String loc,
String raw)
throws SAXException
Receive notification of the end of an element.
Specified by: endElement
in interface ContentHandler
Overrides: endElement
in class AbstractXMLPipe
Parameters: uri
- The Namespace URI, or the empty string if the element has no
Namespace URI or if Namespace
processing is not being performed.loc
- The local name (without prefix), or the empty string if
Namespace processing is not being performed.raw
- The raw XML 1.0 name (with prefix), or the empty string if
raw names are not available.
Throws:
SAXException
initTags
protected void initTags ()
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.