|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.kernow.transform.TransformControllerImpl
public class TransformControllerImpl
Constructor Summary | |
---|---|
TransformControllerImpl(TabbedView view)
Creates a new instance of TransformControllerImpl |
Method Summary | |
---|---|
boolean |
isSchemaAwareEnabled()
|
static boolean |
isXqueryFile(java.lang.String path)
|
boolean |
runAnt(java.lang.String buildFile,
java.lang.String target,
int messageLevel)
|
boolean |
runDirectoryTransform(java.io.File inputDir,
javax.xml.transform.Source stylesheet,
java.io.File outputDir)
Creates a DirectoryTransformer to compile the stylesheet and then transform each file in the input directory with the compiled stylesheet |
boolean |
runDirectoryValidate(java.io.File dir,
javax.xml.transform.Source schema)
|
boolean |
runDirectoryValidate(java.io.File dir,
javax.xml.transform.Source[] schemas)
|
boolean |
runSchemaCheck(javax.xml.transform.Source schema)
|
boolean |
runSchemaCheck(javax.xml.transform.Source[] schemas)
|
boolean |
runSingleFileTransform(javax.xml.transform.Source input,
javax.xml.transform.Source stylesheet,
javax.xml.transform.Result output)
Transforms a single XML file using a normal uncompiled stylesheet |
boolean |
runStandaloneTransform(javax.xml.transform.Source stylesheet,
javax.xml.transform.Result output,
java.lang.String initialTemplate)
Transforms a dummy XML file using a normal uncompiled stylesheet |
boolean |
runStandaloneXQuery(java.io.InputStream query,
javax.xml.transform.Result output)
Evaluate a standalone XQuery |
boolean |
runStandaloneXQuery(java.io.Reader query,
javax.xml.transform.Result output)
Evaluate a standalone XQuery |
boolean |
runStandaloneXQuery(java.lang.String query,
javax.xml.transform.Result output)
Evaluate a standalone XQuery |
boolean |
runValidate(javax.xml.transform.Source doc,
javax.xml.transform.Source schema)
|
boolean |
runValidate(javax.xml.transform.Source doc,
javax.xml.transform.Source[] schemas)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransformControllerImpl(TabbedView view)
Method Detail |
---|
public boolean runStandaloneXQuery(java.lang.String query, javax.xml.transform.Result output)
runStandaloneXQuery
in interface TransformController
query
- The query to evaluateoutput
- Where to send the result of the evaluationpublic boolean runStandaloneXQuery(java.io.Reader query, javax.xml.transform.Result output)
runStandaloneXQuery
in interface TransformController
query
- The query to evaluateoutput
- Where to send the result of the evaluationpublic boolean runStandaloneXQuery(java.io.InputStream query, javax.xml.transform.Result output)
runStandaloneXQuery
in interface TransformController
query
- The query to evaluateoutput
- Where to send the result of the evaluationpublic boolean runStandaloneTransform(javax.xml.transform.Source stylesheet, javax.xml.transform.Result output, java.lang.String initialTemplate)
runStandaloneTransform
in interface TransformController
stylesheet
- The stylesheet to be usedoutput
- The destination of the transformpublic boolean runSingleFileTransform(javax.xml.transform.Source input, javax.xml.transform.Source stylesheet, javax.xml.transform.Result output)
runSingleFileTransform
in interface TransformController
input
- The XML document to transformstylesheet
- The stylesheet to be usedoutput
- The destination of the transformpublic boolean runDirectoryTransform(java.io.File inputDir, javax.xml.transform.Source stylesheet, java.io.File outputDir)
runDirectoryTransform
in interface TransformController
inputDir
- the source directory contains the XML filesstylesheet
- the path to the stylesheetoutputDir
- the target output directory for the transformationspublic boolean runSchemaCheck(javax.xml.transform.Source schema)
runSchemaCheck
in interface TransformController
public boolean runSchemaCheck(javax.xml.transform.Source[] schemas)
runSchemaCheck
in interface TransformController
public boolean runValidate(javax.xml.transform.Source doc, javax.xml.transform.Source schema)
runValidate
in interface TransformController
public boolean runValidate(javax.xml.transform.Source doc, javax.xml.transform.Source[] schemas)
runValidate
in interface TransformController
public boolean runDirectoryValidate(java.io.File dir, javax.xml.transform.Source schema)
runDirectoryValidate
in interface TransformController
public boolean runDirectoryValidate(java.io.File dir, javax.xml.transform.Source[] schemas)
runDirectoryValidate
in interface TransformController
public boolean runAnt(java.lang.String buildFile, java.lang.String target, int messageLevel)
runAnt
in interface TransformController
public boolean isSchemaAwareEnabled()
public static boolean isXqueryFile(java.lang.String path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |