oracle.clex.util
Class XSLPageTransformer
java.lang.Object
|
+--oracle.clex.util.XSLPageTransformer
- public class XSLPageTransformer
- extends java.lang.Object
Method Summary |
protected javax.xml.transform.dom.DOMSource |
getDocumentFromFile(java.lang.String fileURLString)
Uses the jaxp factory to get an instance of a jaxp-compliant xml parser,
specified in the jaxp.properties file located at JAVA_HOME/lib or
taken from the classpath or JAVA_HOME/lib/ext directory. |
java.lang.String |
getHtml()
Deprecated. Use getTransformedResult() instead; JAXP compliant.
Transforms XML using XSL.
Put here so as not to break applications developed before the change to
jaxp |
protected java.io.InputStream |
getInputStream(java.lang.String aFilename)
Returns the InputStream for the specified file. |
java.lang.String |
getTransformedResult()
Transforms XML using XSL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSLPageTransformer
public XSLPageTransformer()
XSLPageTransformer
public XSLPageTransformer(java.lang.String xslfile,
org.w3c.dom.Document xmldoc)
XSLPageTransformer
public XSLPageTransformer(java.lang.String xslfile,
java.util.Vector values,
java.lang.String rootTag,
java.lang.String childtag)
XSLPageTransformer
public XSLPageTransformer(java.lang.String xslfile,
java.util.Hashtable values,
java.lang.String rootTag)
XSLPageTransformer
public XSLPageTransformer(java.lang.String xslfile,
Offerable anOfferable,
java.lang.String rootTag)
getHtml
public java.lang.String getHtml()
- Deprecated. Use getTransformedResult() instead; JAXP compliant.
Transforms XML using XSL.
Put here so as not to break applications developed before the change to
jaxp
getTransformedResult
public java.lang.String getTransformedResult()
- Transforms XML using XSL.
getDocumentFromFile
protected javax.xml.transform.dom.DOMSource getDocumentFromFile(java.lang.String fileURLString)
- Uses the jaxp factory to get an instance of a jaxp-compliant xml parser,
specified in the jaxp.properties file located at JAVA_HOME/lib or
taken from the classpath or JAVA_HOME/lib/ext directory. If not
specified, jaxp will use the Apache parser as a default. Method then parses
the document and returns a DOMSource object.
getInputStream
protected final java.io.InputStream getInputStream(java.lang.String aFilename)
throws java.lang.Exception
- Returns the InputStream for the specified file. The file
can be looked up as a resource with file name specified at
root of classpath (no protocol) or via a URL if a protocol
is given. Invokes
CLEUtil.getInputStream(String, Class)
- Returns:
- java.io.InputStream
Copyright © 2003 ORACLE Corp. All Rights Reserved.