| java.lang.Object com.sun.jbi.engine.xslt.TransformationImpl
TransformationImpl | final public class TransformationImpl implements TransformationProcessor,TEResources(Code) | | This class provides interfaces to process the messages received by the
QuoteService implementations. It also contains interfaces to create the
outbound response and fault message.
author: Sun Microsystems, Inc. |
Constructor Summary | |
public | TransformationImpl(int count) Creates a new instance of TransformationImpl. |
TransformationImpl | public TransformationImpl(int count)(Code) | | Creates a new instance of TransformationImpl.
Parameters: count - number of Factory instances |
createFaultMessage | public void createFaultMessage(Document document, Node input, String message)(Code) | | Generates a fault message.
Parameters: document - - a DOM object which will contain the fault message. Parameters: input - - the stock symbol name. Parameters: message - - error message. |
createResponseMesage | public void createResponseMesage(Document document, Node response) throws Exception(Code) | | Generates a response message.
Parameters: document - - a DOM object which will contain the response message. Parameters: response - - the stock symbol name. throws: Exception - exception |
doTransform | public boolean doTransform(Source input, String xsltfile, Result result) throws Exception(Code) | | Does transformation on the input DOM object using the stylesheet.
Parameters: input - - a DOM object containing the message request. Parameters: xsltfile - - XSLT Tranformation stylesheet Parameters: result - - Result of the XSLT transformation the symbol if the message conforms to the format; otherwisenull. throws: Exception - exception |
getTemplateName | public String getTemplateName()(Code) | | DOCUMENT ME!
NOT YET DOCUMENTED |
getTransformerFactory | public static synchronized TransformerFactory getTransformerFactory()(Code) | | DOCUMENT ME!
NOT YET DOCUMENTED |
putTransformerFactory | public static synchronized void putTransformerFactory(TransformerFactory tfactory)(Code) | | DOCUMENT ME!
Parameters: tfactory - NOT YET DOCUMENTED |
setTemplateName | public void setTemplateName(String template)(Code) | | DOCUMENT ME!
Parameters: template - NOT YET DOCUMENTED |
transform | public boolean transform(Source input, Result result) throws Exception(Code) | | Does transformation on the input DOM object using the stylesheet.
Parameters: input - - a DOM object containing the message request. Parameters: result - - Result of Transformation the symbol if the message conforms to the format; otherwisenull. throws: Exception - exception |
|
|