Package com.nfbsoftware.xml
Interface IXslDocument
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
XslDocument
- Author:
- Brendan Clemenzi
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method replaces the content of the current root node with that of the input file.voidThis method replaces the content of the current root node with that of the input file.voidload(InputStream in) This method replaces the content of the current root node with that of the InputStream.voidload(InputStream in, String encoding) This method replaces the content of the current root node with that of the InputStream.voidThis method replaces the content of the current root node with that of the Reader.voidThis method replaces the content of the current root node with that of the input string.transform(IXmlElement xmlElement) This method transforms the xml document using this style sheet.This method transforms the xml document using this style sheet.This method transforms the xml document using this style sheet.transform(InputStream stream) This method transforms the xml document using this style sheet.transform(InputStream stream, String encoding) This method transforms the xml document using this style sheet.This method transforms the xml document using this style sheet.This method transforms the xml document using this style sheet.transformToXmlDocument(IXmlElement xmlElement) This method transforms the xml document using this style sheet.transformToXmlDocument(File xmlFile) This method transforms the xml document using this style sheet.transformToXmlDocument(File xmlFile, String encoding) This method transforms the xml document using this style sheet.transformToXmlDocument(InputStream stream) This method transforms the xml document using this style sheet.transformToXmlDocument(InputStream stream, String encoding) This method transforms the xml document using this style sheet.transformToXmlDocument(Reader reader) This method transforms the xml document using this style sheet.This method transforms the xml document using this style sheet.
-
Method Details
-
load
This method replaces the content of the current root node with that of the input file.- Parameters:
file- points to the XML file- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
load
This method replaces the content of the current root node with that of the input file.- Parameters:
file- points to the XML fileencoding- The name of the supported character encoding- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
load
This method replaces the content of the current root node with that of the InputStream.- Parameters:
in- A stream containing an XML document.- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
load
This method replaces the content of the current root node with that of the InputStream.- Parameters:
in- A stream containing an XML document.encoding- The name of the supported character encoding- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
load
This method replaces the content of the current root node with that of the Reader.- Parameters:
reader- A reader containing an XML document.- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
load
This method replaces the content of the current root node with that of the input string.- Parameters:
xml- A string contains an XML document.- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
transform
This method transforms the xml document using this style sheet.- Parameters:
xmlFile- a file containing the XML document.- Returns:
- The XML document.
- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
transform
This method transforms the xml document using this style sheet.- Parameters:
xmlFile- the file containing the XML document.enc- the encoding of the file- Returns:
- The XML document.
- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
transform
This method transforms the xml document using this style sheet.- Parameters:
stream- stream containing the XML document.- Returns:
- The XML document.
- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
transform
This method transforms the xml document using this style sheet.- Parameters:
stream- stream containing the XML document.encoding- the encoding of the stream- Returns:
- The XML document.
- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
transform
This method transforms the xml document using this style sheet.- Parameters:
xmlElement- a string containing the XML document- Returns:
- The XML document.
- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
transform
This method transforms the xml document using this style sheet.- Parameters:
reader- a reader containing the XML document- Returns:
- The XML document.
- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
transform
This method transforms the xml document using this style sheet.- Parameters:
xml- a string containing the XML document- Returns:
- The XML document.
- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
transformToXmlDocument
This method transforms the xml document using this style sheet.- Parameters:
xmlFile- a file containing the XML document.- Returns:
- The XML document.
- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
transformToXmlDocument
IXmlDocument transformToXmlDocument(File xmlFile, String encoding) throws XmlDocumentCheckedException This method transforms the xml document using this style sheet.- Parameters:
xmlFile- a file containing the XML document.encoding- the encoding of the stream- Returns:
- The XML document.
- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
transformToXmlDocument
This method transforms the xml document using this style sheet.- Parameters:
stream- stream containing the XML document.- Returns:
- The XML document.
- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
transformToXmlDocument
IXmlDocument transformToXmlDocument(InputStream stream, String encoding) throws XmlDocumentCheckedException This method transforms the xml document using this style sheet.- Parameters:
stream- stream containing the XML document.encoding- the encoding of the stream- Returns:
- The XML document.
- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
transformToXmlDocument
This method transforms the xml document using this style sheet.- Parameters:
xmlElement- the XML document- Returns:
- The XML document.
- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
transformToXmlDocument
This method transforms the xml document using this style sheet.- Parameters:
reader- a reader containing the XML document- Returns:
- The XML document.
- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-
transformToXmlDocument
This method transforms the xml document using this style sheet.- Parameters:
xml- a string containing the XML document- Returns:
- The XML document.
- Throws:
XmlDocumentCheckedException- If the XML is invalid.
-