|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IHostXmlTransformers
Alternative to IHostTransformers
which works on XML rather than java
object.
Method Summary | |
---|---|
byte[] |
toHost(Source source)
Transforms XML source to host data. |
byte[] |
toHost(Source source,
HostTransformStatus status)
Transforms XML source to host data. |
byte[] |
toHost(Source source,
String hostCharset)
Transforms XML source to host data with a specific host character set. |
byte[] |
toHost(Source source,
String hostCharset,
HostTransformStatus status)
Transforms XML source to host data with a specific host character set. |
void |
toXml(byte[] hostData,
Writer writer)
Transforms host data to XML. |
void |
toXml(byte[] hostData,
Writer writer,
HostTransformStatus status)
Transforms host data to XML. |
void |
toXml(byte[] hostData,
Writer writer,
String hostCharset)
Transforms host data to XML using a specific host character set. |
void |
toXml(byte[] hostData,
Writer writer,
String hostCharset,
HostTransformStatus status)
Transforms host data to XML using a specific host character set. |
Method Detail |
---|
byte[] toHost(Source source, String hostCharset) throws HostTransformException
source
- the XML Source to unmarshal XML data from (such as
SAXSource, DOMSource, and StreamSource)hostCharset
- the host character set
HostTransformException
- if transformation failsbyte[] toHost(Source source) throws HostTransformException
source
- the XML Source to unmarshal XML data from (such as
SAXSource, DOMSource, and StreamSource)
HostTransformException
- if transformation failsvoid toXml(byte[] hostData, Writer writer, String hostCharset) throws HostTransformException
hostData
- a byte array containing host datawriter
- XML will be sent to this writer.hostCharset
- the host character set
HostTransformException
- if transformation failsvoid toXml(byte[] hostData, Writer writer) throws HostTransformException
hostData
- a byte array containing host datawriter
- XML will be sent to this writer.
HostTransformException
- if transformation failsbyte[] toHost(Source source, String hostCharset, HostTransformStatus status) throws HostTransformException
source
- the XML Source to unmarshal XML data from (such as
SAXSource, DOMSource, and StreamSource)hostCharset
- the host character setstatus
- will contain information on the transformation after it is
executed
HostTransformException
- if transformation failsbyte[] toHost(Source source, HostTransformStatus status) throws HostTransformException
source
- the XML Source to unmarshal XML data from (such as
SAXSource, DOMSource, and StreamSource)status
- will contain information on the transformation after it is
executed
HostTransformException
- if transformation failsvoid toXml(byte[] hostData, Writer writer, String hostCharset, HostTransformStatus status) throws HostTransformException
hostData
- a byte array containing host datawriter
- XML will be sent to this writer.hostCharset
- the host character setstatus
- will contain information on the transformation after it is
executed
HostTransformException
- if transformation failsvoid toXml(byte[] hostData, Writer writer, HostTransformStatus status) throws HostTransformException
hostData
- a byte array containing host datawriter
- XML will be sent to this writer.status
- will contain information on the transformation after it is
executed
HostTransformException
- if transformation fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |