com.k_int.IR.Syntaxes.Conversion
Class XSLConverter
java.lang.Object
|
+--com.k_int.IR.Syntaxes.Conversion.XSLConverter
- public class XSLConverter
- extends java.lang.Object
Convert a document in one schema into another schema
using an XSLT transformation
|
Method Summary |
org.w3c.dom.Document |
convert(org.w3c.dom.Document source,
java.lang.String source_schema,
java.lang.String target_schema)
convert(Document, Source Schema, Target Schema). |
void |
convert(org.w3c.dom.Document source,
java.lang.String source_schema,
java.lang.String target_schema,
javax.xml.transform.Result result)
|
void |
convert(org.w3c.dom.Document source,
java.lang.String source_schema,
java.lang.String target_schema,
java.io.Writer out)
|
static XSLConverter |
getConvertor(java.util.Properties p)
|
void |
registerMapping(java.lang.String from,
java.lang.String to,
java.lang.String sheet)
|
void |
setTemplateSource(java.lang.String directory)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSLConverter
public XSLConverter()
getConvertor
public static XSLConverter getConvertor(java.util.Properties p)
setTemplateSource
public void setTemplateSource(java.lang.String directory)
registerMapping
public void registerMapping(java.lang.String from,
java.lang.String to,
java.lang.String sheet)
convert
public org.w3c.dom.Document convert(org.w3c.dom.Document source,
java.lang.String source_schema,
java.lang.String target_schema)
- convert(Document, Source Schema, Target Schema).
One day soon, we will replace this with a function that uses NameSpace
to determine the source record schema. API still seems to be a little
up in the air for that at the moment though.
convert
public void convert(org.w3c.dom.Document source,
java.lang.String source_schema,
java.lang.String target_schema,
java.io.Writer out)
convert
public void convert(org.w3c.dom.Document source,
java.lang.String source_schema,
java.lang.String target_schema,
javax.xml.transform.Result result)
Copyright © 2001 Knowledge Integration Ltd. All Rights Reserved.