public abstract class ATSLBuilder extends java.lang.Object implements ITSLBuilder
Abstract class that represents a TSL builder with the principal functions regardless it implementation.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Modifier and Type | Method and Description |
|---|---|
byte[] |
buildTSLFromXML(java.io.InputStream is)
Method that builds the TSL data from a input XML.
|
byte[] |
buildXMLfromTSL()
Method that builds the XML representation (concrete specification and version) of the TSL.
|
public final byte[] buildTSLFromXML(java.io.InputStream is)
throws TSLArgumentException,
TSLParsingException
buildTSLFromXML in interface ITSLBuilderis - InputStream Input Stream of the XML (TSL representation).TSLArgumentException - In case of the input parameter is null.TSLParsingException - In case of some error parsing the XML input stream.ITSLBuilder.buildTSLFromXML(java.io.InputStream)public final byte[] buildXMLfromTSL()
throws TSLEncodingException
buildXMLfromTSL in interface ITSLBuilderTSLEncodingException - In case of some error encoding the XMLITSLBuilder.buildXMLfromTSL()