XmlLoadOptions
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.LoadOptions
public class XmlLoadOptions extends LoadOptions
Represents options for loading/importing XML file into pdf document.
Constructors
| Constructor | Description |
|---|---|
| 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
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| xslFile | java.lang.String | String Xsl file to convert xml document into pdf document. |
XmlLoadOptions(InputStream xslStream)
public XmlLoadOptions(InputStream xslStream)
Creates XmlLoadOptions object with xsl data.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| xslStream | java.io.InputStream | InputStream 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