public static class Table.TableTypeConverter extends Object implements Converter<com.aliyun.odps.Table.TableType>
TableType
to/from String
Constructor and Description |
---|
TableTypeConverter() |
Modifier and Type | Method and Description |
---|---|
com.aliyun.odps.Table.TableType |
read(InputNode node)
This
read method is used to deserialize an object
from the source XML. |
void |
write(OutputNode node,
com.aliyun.odps.Table.TableType value)
This
write method is used to serialize an object
to XML. |
public com.aliyun.odps.Table.TableType read(InputNode node) throws Exception
Converter
read
method is used to deserialize an object
from the source XML. The deserialization is performed using
the XML node provided. This node can be used to read the XML
elements and attributes in any format required. Once all of
the data has been extracted an instance must be returned.read
in interface Converter<com.aliyun.odps.Table.TableType>
node
- this is the node to deserialize the object fromException
public void write(OutputNode node, com.aliyun.odps.Table.TableType value) throws Exception
Converter
write
method is used to serialize an object
to XML. The serialization should be performed in such a way
that all of the objects values are represented by an element
or attribute of the provided node. This ensures that it can
be fully deserialized at a later time.write
in interface Converter<com.aliyun.odps.Table.TableType>
node
- this is the node to serialized to object tovalue
- this is the value that is to be serializedException
Copyright © 2021 Alibaba Cloud Computing. All rights reserved.