|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.common.types.BaseXMLTranslator
public abstract class BaseXMLTranslator
Implements some common menthods that can be shared.
Field Summary |
---|
Fields inherited from interface com.metamatrix.common.types.XMLTranslator |
---|
idenityTransform, INDENT, lineSep |
Constructor Summary | |
---|---|
protected |
BaseXMLTranslator(java.util.Properties props)
|
Method Summary | |
---|---|
byte[] |
getBytes()
Get the XML contents in byte array form. |
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; |
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 |
Methods inherited from interface com.metamatrix.common.types.XMLTranslator |
---|
getSource |
Constructor Detail |
---|
protected BaseXMLTranslator(java.util.Properties props)
Method Detail |
---|
public java.lang.String getString() throws java.io.IOException
XMLTranslator
getString
in interface XMLTranslator
java.io.IOException
XMLTranslator.getString()
public java.io.Reader getReader() throws java.io.IOException
XMLTranslator
getReader
in interface XMLTranslator
java.io.IOException
XMLTranslator.getReader()
public java.io.InputStream getInputStream() throws java.io.IOException
XMLTranslator
getInputStream
in interface XMLTranslator
java.io.IOException
XMLTranslator.getInputStream()
public byte[] getBytes() throws java.io.IOException
java.io.IOException
public java.util.Properties getProperties()
XMLTranslator
getProperties
in interface XMLTranslator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |