XmlLoadOptions

Inheritance: java.lang.Object, com.aspose.pdf.LoadOptions

public class XmlLoadOptions extends LoadOptions

Represents options for loading/importing XML file into pdf document.

Constructors

ConstructorDescription
XmlLoadOptions()Creates XmlLoadOptions object without xsl data.
XmlLoadOptions(String xslFile)Creates XmlLoadOptions object with xsl data.
XmlLoadOptions(InputStream xslStream)Creates XmlLoadOptions object with xsl data.

Methods

MethodDescription
getXslStream()Gets xsl data for converting xml into pdf document.
close()Close instance

XmlLoadOptions()

public XmlLoadOptions()

Creates XmlLoadOptions object without xsl data.

XmlLoadOptions(String xslFile)

public XmlLoadOptions(String xslFile)

Creates XmlLoadOptions object with xsl data.

Parameters:

ParameterTypeDescription
xslFilejava.lang.StringString Xsl file to convert xml document into pdf document.

XmlLoadOptions(InputStream xslStream)

public XmlLoadOptions(InputStream xslStream)

Creates XmlLoadOptions object with xsl data.

Parameters:

ParameterTypeDescription
xslStreamjava.io.InputStreamInputStream Xsl stream to convert xml document into pdf document.

getXslStream()

public InputStream getXslStream()

Gets xsl data for converting xml into pdf document.

Returns: java.io.InputStream - InputStream

close()

public void close()

Close instance