@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public class XmlRecordInput extends Object implements RecordInput
| Constructor and Description | 
|---|
| XmlRecordInput(InputStream in)Deprecated.  Creates a new instance of XmlRecordInput | 
| Modifier and Type | Method and Description | 
|---|---|
| void | endMap(String tag)Deprecated.  Check the mark for end of the serialized map. | 
| void | endRecord(String tag)Deprecated.  Check the mark for end of the serialized record. | 
| void | endVector(String tag)Deprecated.  Check the mark for end of the serialized vector. | 
| boolean | readBool(String tag)Deprecated.  Read a boolean from serialized record. | 
| Buffer | readBuffer(String tag)Deprecated.  Read byte array from serialized record. | 
| byte | readByte(String tag)Deprecated.  Read a byte from serialized record. | 
| double | readDouble(String tag)Deprecated.  Read a double-precision number from serialized record. | 
| float | readFloat(String tag)Deprecated.  Read a single-precision float from serialized record. | 
| int | readInt(String tag)Deprecated.  Read an integer from serialized record. | 
| long | readLong(String tag)Deprecated.  Read a long integer from serialized record. | 
| String | readString(String tag)Deprecated.  Read a UTF-8 encoded string from serialized record. | 
| Index | startMap(String tag)Deprecated.  Check the mark for start of the serialized map. | 
| void | startRecord(String tag)Deprecated.  Check the mark for start of the serialized record. | 
| Index | startVector(String tag)Deprecated.  Check the mark for start of the serialized vector. | 
public XmlRecordInput(InputStream in)
public byte readByte(String tag) throws IOException
RecordInputreadByte in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic boolean readBool(String tag) throws IOException
RecordInputreadBool in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic int readInt(String tag) throws IOException
RecordInputreadInt in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic long readLong(String tag) throws IOException
RecordInputreadLong in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic float readFloat(String tag) throws IOException
RecordInputreadFloat in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic double readDouble(String tag) throws IOException
RecordInputreadDouble in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic String readString(String tag) throws IOException
RecordInputreadString in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic Buffer readBuffer(String tag) throws IOException
RecordInputreadBuffer in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic void startRecord(String tag) throws IOException
RecordInputstartRecord in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic void endRecord(String tag) throws IOException
RecordInputendRecord in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic Index startVector(String tag) throws IOException
RecordInputstartVector in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic void endVector(String tag) throws IOException
RecordInputendVector in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic Index startMap(String tag) throws IOException
RecordInputstartMap in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionpublic void endMap(String tag) throws IOException
RecordInputendMap in interface RecordInputtag - Used by tagged serialization formats (such as XML)IOExceptionCopyright © 2016 Apache Software Foundation. All Rights Reserved.