|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.query.xquery.saxon.SaxonXMLTranslator
public class SaxonXMLTranslator
This converts the SAXOn based XML tree into another popular XMl formats like String, DOM, SAX etc.
| Field Summary |
|---|
| Fields inherited from interface com.metamatrix.common.types.XMLTranslator |
|---|
idenityTransform, INDENT, lineSep |
| Constructor Summary | |
|---|---|
SaxonXMLTranslator(net.sf.saxon.om.NodeInfo source,
java.util.Properties props)
|
|
| Method Summary | |
|---|---|
java.io.InputStream |
getInputStream()
Get a InputStream for the XMl contents; |
java.util.Properties |
getProperties()
Any specific Properties needed by the translator process, such as indenting etc. |
java.io.Reader |
getReader()
Get a Reader for the XML contents; |
javax.xml.transform.Source |
getSource()
Get the XML in the original source form; with however it got created. |
java.lang.String |
getString()
Get String form of the XML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SaxonXMLTranslator(net.sf.saxon.om.NodeInfo source,
java.util.Properties props)
| Method Detail |
|---|
public java.lang.String getString()
throws java.io.IOException
XMLTranslator
getString in interface XMLTranslatorjava.io.IOExceptionXMLTranslator.getString()
public javax.xml.transform.Source getSource()
throws java.io.IOException
XMLTranslator
getSource in interface XMLTranslatorjava.io.IOExceptionXMLTranslator.getSource()
public java.io.Reader getReader()
throws java.io.IOException
XMLTranslator
getReader in interface XMLTranslatorjava.io.IOExceptionXMLTranslator.getReader()
public java.io.InputStream getInputStream()
throws java.io.IOException
XMLTranslator
getInputStream in interface XMLTranslatorjava.io.IOExceptionXMLTranslator.getInputStream()public java.util.Properties getProperties()
XMLTranslator
getProperties in interface XMLTranslatorXMLTranslator.getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||