jd.xml.xslt.util
Class AssocStylesheetBuilder
java.lang.Object
jd.xml.xslt.util.AssocStylesheetBuilder
- public class AssocStylesheetBuilder
- extends Object
A helper class to build a associated stylesheet from the
processing instructions of an xml input document.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssocStylesheetBuilder
public AssocStylesheetBuilder(String title,
String media,
String charset)
getStylesheetString
public String getStylesheetString(XmlSource source)
throws SAXException,
IOException
- Get the associated stylesheet as a String.
- Returns:
- the string or null if the xml document does not contain any
xml-stylesheet instructions
- Throws:
SAXException
IOException
getStylesheetSource
public XmlSource getStylesheetSource(XmlSource source)
throws SAXException,
IOException
- Get the associated stylesheet as a String.
- Returns:
- the string or null if the xml document does not contain any
xml-stylesheet instructions
- Throws:
SAXException
IOException