|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.sixdml.excelon.xlnServiceBase
|
+--org.sixdml.excelon.xlnXsltTransformService
xlnXsltTransformService.java Performs XSLT ransformations on Nodes. Created: Tue Jan 15 17:47:34 2002
| Field Summary | |
private com.exln.dxe.Session |
session
A session provides the context in which an application can access XMLStores. |
| Fields inherited from class org.sixdml.excelon.xlnServiceBase |
collection, properties |
| Fields inherited from interface org.sixdml.transform.SixdmlTransformService |
XPATH2, XQUERY, XSLT |
| Fields inherited from interface org.sixdml.SixdmlConstants |
SIXDML_NS, SIXDML_VERSION |
| Constructor Summary | |
(package private) |
xlnXsltTransformService(com.exln.dxe.Session session)
Default constructor initializes service. |
| Method Summary | |
static String |
getContentsOfURL(URL source)
Obtains the contents at a particular URL and returns them as a string. |
String |
getName()
Gets the name of the service. |
org.sixdml.transform.SixdmlTransformType |
getType()
Get the type of this object as a SixdmlTransformType. |
String |
transformAndReturnString(String transformCode,
org.sixdml.SixdmlResource resource)
Transforms a SixdmlResource from one XML document to another and returns the results in a string. |
String |
transformAndReturnString(String transformCode,
String sourceXML)
Transforms a string representation of a wellformed XML document to another and returns the results in a string. |
String |
transformAndReturnString(URL source,
org.sixdml.SixdmlResource resource)
Transforms a SixdmlResource from one XML document to another and returns the results in a string. |
String |
transformAndReturnString(URL source,
String sourceXML)
Transforms a SixdmlResource from one XML document to another and returns the results in a string. |
| Methods inherited from class org.sixdml.excelon.xlnServiceBase |
getProperty, getVersion, setCollection, setProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xmldb.api.base.Service |
getVersion, setCollection |
| Methods inherited from interface org.xmldb.api.base.Configurable |
getProperty, setProperty |
| Field Detail |
private com.exln.dxe.Session session
| Constructor Detail |
xlnXsltTransformService(com.exln.dxe.Session session)
session - the DXE session associated with the class.| Method Detail |
public org.sixdml.transform.SixdmlTransformType getType()
getType in interface SixdmlTransformService
public String transformAndReturnString(URL source,
org.sixdml.SixdmlResource resource)
throws IOException,
InvalidTransformException
transformAndReturnString in interface SixdmlTransformServicesource - the URL to the location of the file containing the transform.resource - the resource to transform
IOException - if an error occurs while trying to retrieve the file.
InvalidTransformException - if the transform specified is an invalid or non-well formed
query or document.
public String transformAndReturnString(String transformCode,
org.sixdml.SixdmlResource resource)
throws InvalidTransformException
transformAndReturnString in interface SixdmlTransformServicetransformCode - the actual code for the stylesheet or query.resource - the resource to transform
InvalidTransformException - if the transform specified is an invalid or non-well formed
query or document.
public String transformAndReturnString(String transformCode,
String sourceXML)
throws InvalidTransformException,
NonWellFormedXMLException
transformAndReturnString in interface SixdmlTransformServicetransformCode - the actual code for the stylesheet or query.sourceXML - the XML to transform
InvalidTransformException - if the transform specified is an invalid or
non-well formed query or document.
NonWellFormedXMLException - if the data to transform is not a wellformed
XML document.
public String transformAndReturnString(URL source,
String sourceXML)
throws IOException,
InvalidTransformException,
NonWellFormedXMLException
transformAndReturnString in interface SixdmlTransformServicesource - the URL to the location of the file containing the transform.sourceXML - the XML to transform
IOException - if an error occurs while trying to retrieve the file.
InvalidTransformException - if the transform specified is an invalid or
non-well formed query or document.
NonWellFormedXMLException - if the data to transform is not a wellformed
XML document.public String getName()
getName in interface ServicegetName in class xlnServiceBase
public static String getContentsOfURL(URL source)
throws IOException
source - the URL to obtaion the data from.
IOException - if an error occurs while trying to retrieve the file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||