com.bankframe.ei.txnhandler.dataformat.xml
Class XMLDataFormat

java.lang.Object
  |
  +--com.bankframe.ei.txnhandler.dataformat.basic.BasicDataFormat
        |
        +--com.bankframe.ei.txnhandler.dataformat.xml.XMLDataFormat
All Implemented Interfaces:
DataFormat

public class XMLDataFormat
extends BasicDataFormat

This class is the Data Formatter class for where the host system request and responses are in XML. It converts DataPacket requests to DPTP XML and then converts this to the host system XML by applying XSL stylesheets.


Constructor Summary
XMLDataFormat()
           
 
Method Summary
 java.lang.Object buildRequestTxn(DataPacket txnDataPacket, java.lang.String txnCode, java.lang.String txnType)
          This method converts a Data Packet request to a Host System format using an XSL Stylesheet.
 boolean isIgnoringComments()
          This method indicates whether or not the builder is configured to produce parsers which ignores comments
 boolean isIgnoringElementContentWhiteSpace()
          This method indicates whether or not this builder is configured to produce parsers which ignore ignorable whitespace in element content.
 boolean isNameSpaceAware()
          This method indicates whether or not the builder is configured to produce parsers which are namespace aware.
 boolean isValidating()
          This method ndicates whether or not the bulider is configured to produce parsers which validate the XML content during parse.
 
Methods inherited from class com.bankframe.ei.txnhandler.dataformat.basic.BasicDataFormat
moreToRequest, notifyProcessingFinished, setConnectionSpecification, toDataPacketsMap, toDataPacketsVector
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLDataFormat

public XMLDataFormat()
Method Detail

buildRequestTxn

public java.lang.Object buildRequestTxn(DataPacket txnDataPacket,
                                        java.lang.String txnCode,
                                        java.lang.String txnType)
                                 throws ProcessingErrorException
This method converts a Data Packet request to a Host System format using an XSL Stylesheet.

Specified by:
buildRequestTxn in interface DataFormat
Overrides:
buildRequestTxn in class BasicDataFormat
Parameters:
txnDataPacket - the DataPacket of transaction data and settings
txnCode - the transaction code
txnType - the transaction type
Returns:
Object the Host System formatted Object
Throws:
ProcessingErrorException - if processing fails

isIgnoringComments

public boolean isIgnoringComments()
This method indicates whether or not the builder is configured to produce parsers which ignores comments

Returns:
true if the bulider is configured to produce parsers which ignores comments; false otherwise

isIgnoringElementContentWhiteSpace

public boolean isIgnoringElementContentWhiteSpace()
This method indicates whether or not this builder is configured to produce parsers which ignore ignorable whitespace in element content.

Returns:
true if the bulider is configured to produce parsers which ignore ignorable whitespace in element content; false otherwise.

isNameSpaceAware

public boolean isNameSpaceAware()
This method indicates whether or not the builder is configured to produce parsers which are namespace aware.


isValidating

public boolean isValidating()
This method ndicates whether or not the bulider is configured to produce parsers which validate the XML content during parse.

Returns:
true if the factory is configured to produce parsers which validate the XML content during parse; false otherwise.


Copyright © 2005 Siebel Systems, Inc. All rights reserved.