public class XMLCoderWrapper
extends java.lang.Object
This is a temporary class for backward compatibility. You should phase out its use when you no longer have any files encoded in XMLCoder formats (new files are saved in IDataXMLCoder format).
XMLCoder
,
IDataXMLCoder
Constructor and Description |
---|
XMLCoderWrapper()
Constructs a new XMLCoderWrapper object.
|
Modifier and Type | Method and Description |
---|---|
IData |
decode(java.io.InputStream is)
Decodes the XML in the specified InputStream to an IData object.
|
int |
getFileType()
Returns the type code for this class.
|
public XMLCoderWrapper()
public IData decode(java.io.InputStream is) throws java.io.IOException, InvalidDatatypeException
is
- An InputStream that contains the XML document that you want to decode.java.io.IOException
- If an error occurs while reading InputStream.InvalidDatatypeException
- If the XML in InputStream cannot be decoded or it contains an unsupported object type and setIgnoreInvalid is false.IDataXMLCoder
,
XMLCoder
public int getFileType()