|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ucsb.nceas.metacat.spatial.XSLTransform
public class XSLTransform
A Class that transforms XML documents utitlizing XSL style sheets. This is a convenience class that makes it easier to handle the location of stylesheets and the mapping between a request and a particular stylesheet.
| Constructor Summary | |
|---|---|
XSLTransform()
Private constructor because all methids are static and do not need an instance. |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
the main routine used to test the transform utility. |
static void |
transform(java.io.Reader doc,
java.lang.String xslSystemId,
java.io.PrintWriter pw,
java.util.Hashtable param)
Transform an XML document using an XSLT stylesheet to another format, probably HTML or another XML document format. |
static void |
transform(java.lang.String docString,
java.lang.String xslSystemId,
java.io.PrintWriter pw,
java.util.Hashtable param)
Transform an XML document using an XSLT stylesheet to another format, probably HTML or another XML document format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XSLTransform()
| Method Detail |
|---|
public static void transform(java.lang.String docString,
java.lang.String xslSystemId,
java.io.PrintWriter pw,
java.util.Hashtable param)
docString - the document to be transformedxslSystemId - the system location of the stylesheetpw - the PrintWriter to which output is printedparams - some parameters for inclusion to the transformation
public static void transform(java.io.Reader doc,
java.lang.String xslSystemId,
java.io.PrintWriter pw,
java.util.Hashtable param)
doc - the document to be transformedxslSystemId - the system location of the stylesheetpw - the PrintWriter to which output is printedparams - some parameters for inclusion to the transformationpublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||