|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLTranslator
This an interface defined to convert the various kinds of the XML sources defined into another source kinds. For example a DOMSource.class source can be converted to String or SAXSource, or StreamSource is converted to DOMSource etc.
Field Summary | |
---|---|
static java.lang.String |
idenityTransform
|
static java.lang.String |
INDENT
|
static java.lang.String |
lineSep
|
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 |
Field Detail |
---|
static final java.lang.String lineSep
static final java.lang.String INDENT
static final java.lang.String idenityTransform
Method Detail |
---|
java.lang.String getString() throws java.io.IOException
java.io.IOException
javax.xml.transform.Source getSource() throws java.io.IOException
java.io.IOException
java.io.Reader getReader() throws java.io.IOException
java.io.IOException
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
java.util.Properties getProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |