com.legstar.coxb.transform
Interface IHostToXmlTransformer

All Known Implementing Classes:
AbstractHostToXmlTransformer

public interface IHostToXmlTransformer

Host to XML transformers offer the capability to turn a raw mainframe byte array to XML.


Method Summary
 void transform(byte[] hostData, int offset, Writer writer)
          Transforms host data to XML.
 void transform(byte[] hostData, int offset, Writer writer, HostTransformStatus status)
          Transforms host data to XML.
 void transform(byte[] hostData, int offset, Writer writer, String hostCharset)
          Transforms host data to XML with a specific host character set.
 void transform(byte[] hostData, int offset, Writer writer, String hostCharset, HostTransformStatus status)
          Transforms host data to XML with a specific host character set.
 void transform(byte[] hostData, Writer writer)
          Transforms host data to XML.
 void transform(byte[] hostData, Writer writer, HostTransformStatus status)
          Transforms host data to XML.
 void transform(byte[] hostData, Writer writer, String hostCharset)
          Transforms host data to XML with a specific host character set.
 void transform(byte[] hostData, Writer writer, String hostCharset, HostTransformStatus status)
          Transforms host data to XML with a specific host character set.
 

Method Detail

transform

void transform(byte[] hostData,
               Writer writer,
               String hostCharset)
               throws HostTransformException
Transforms host data to XML with a specific host character set.

Parameters:
hostData - a byte array containing host data
writer - XML will be sent to this writer.
hostCharset - the host character set
Throws:
HostTransformException - if transformation fails

transform

void transform(byte[] hostData,
               int offset,
               Writer writer,
               String hostCharset)
               throws HostTransformException
Transforms host data to XML with a specific host character set.

Parameters:
hostData - a byte array containing host data
offset - index of first byte to process in hostData
writer - XML will be sent to this writer.
hostCharset - the host character set
Throws:
HostTransformException - if transformation fails

transform

void transform(byte[] hostData,
               Writer writer)
               throws HostTransformException
Transforms host data to XML.

Parameters:
hostData - a byte array containing host data
writer - XML will be sent to this writer.
Throws:
HostTransformException - if transformation fails

transform

void transform(byte[] hostData,
               int offset,
               Writer writer)
               throws HostTransformException
Transforms host data to XML.

Parameters:
hostData - a byte array containing host data
offset - index of first byte to process in hostData
writer - XML will be sent to this writer.
Throws:
HostTransformException - if transformation fails

transform

void transform(byte[] hostData,
               Writer writer,
               String hostCharset,
               HostTransformStatus status)
               throws HostTransformException
Transforms host data to XML with a specific host character set.

Parameters:
hostData - a byte array containing host data
writer - XML will be sent to this writer.
hostCharset - the host character set
status - will contain information on the transformation after it is executed
Throws:
HostTransformException - if transformation fails

transform

void transform(byte[] hostData,
               int offset,
               Writer writer,
               String hostCharset,
               HostTransformStatus status)
               throws HostTransformException
Transforms host data to XML with a specific host character set.

Parameters:
hostData - a byte array containing host data
offset - index of first byte to process in hostData
writer - XML will be sent to this writer.
hostCharset - the host character set
status - will contain information on the transformation after it is executed
Throws:
HostTransformException - if transformation fails

transform

void transform(byte[] hostData,
               Writer writer,
               HostTransformStatus status)
               throws HostTransformException
Transforms host data to XML.

Parameters:
hostData - a byte array containing host data
writer - XML will be sent to this writer.
status - will contain information on the transformation after it is executed
Throws:
HostTransformException - if transformation fails

transform

void transform(byte[] hostData,
               int offset,
               Writer writer,
               HostTransformStatus status)
               throws HostTransformException
Transforms host data to XML.

Parameters:
hostData - a byte array containing host data
offset - index of first byte to process in hostData
writer - XML will be sent to this writer.
status - will contain information on the transformation after it is executed
Throws:
HostTransformException - if transformation fails


Copyright © 2015 LegSem. All Rights Reserved.