|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjp.bitmeister.asn1.codec.xer.XerDecoder
public class XerDecoder
XER (XML Encoding Rules) decoder.
XerDecoder is an implementation of ASN1Decoder. It reads a
number of bytes from an InputStream that is specified when a decoder
is instantiated, and decodes them to an ASN.1 data with XML Encoding Rules
(XER).
ASN1Decoder,
XerEncoder| Constructor Summary | |
|---|---|
XerDecoder(java.lang.Class<? extends ASN1Module> module,
java.io.InputStream in)
Instantiates a XerDecoder. |
|
XerDecoder(java.io.InputStream in)
Instantiates a XerDecoder. |
|
| Method Summary | ||
|---|---|---|
ASN1Type |
decode()
Decodes source data to an ASN.1 data. |
|
|
decode(java.lang.Class<T> type)
Decodes source data and sets these decoded values to an instance of the ASN.1 type. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(ANY data)
Visits the ANY data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(BIT_STRING data)
Visits the BIT_STRING data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(BOOLEAN data)
Visits the BOOLEAN data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(CHOICE data)
Visits the CHOICE data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(ENUMERATED data)
Visits the ENUMERATED data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(INTEGER data)
Visits the INTEGER data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(NULL data)
Visits the NULL data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(OBJECT_IDENTIFIER data)
Visits the OBJECT_IDENTIFIER data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(OCTET_STRING data)
Visits the OCTET_STRING data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(REAL data)
Visits the REAL data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(RELATIVE_OID data)
Visits the RELATIVE_OID data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(SEQUENCE_OF<? extends ASN1Type> data)
Visits the SEQUENCE_OF data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(SEQUENCE data)
Visits the SEQUENCE data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(SET_OF<? extends ASN1Type> data)
Visits the SET_OF data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(SET data)
Visits the SET data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(StringType data)
Visits the StringType data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(TimeType data)
Visits the TimeType data. |
|
jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder |
visit(UnknownType data)
Visits the UnknownType data. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XerDecoder(java.io.InputStream in)
XerDecoder.
in - The InputStream to be read.
public XerDecoder(java.lang.Class<? extends ASN1Module> module,
java.io.InputStream in)
XerDecoder.
in - The InputStream to be read.| Method Detail |
|---|
public <T extends ASN1Type> T decode(java.lang.Class<T> type)
throws ASN1DecodingException
ASN1Decoder
decode in interface ASN1DecoderT - Indicates the ASN.1 type.type - The class object of the ASN.1 type.
ASN1DecodingException - Thrown when an error occurred while the decoding process.
public ASN1Type decode()
throws ASN1DecodingException
ASN1Decoder
decode in interface ASN1DecoderASN1DecodingException - Thrown when an error occurred while the decoding process.public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(BOOLEAN data)
ASN1VisitorBOOLEAN data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(INTEGER data)
ASN1VisitorINTEGER data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(BIT_STRING data)
ASN1VisitorBIT_STRING data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(OCTET_STRING data)
ASN1VisitorOCTET_STRING data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(NULL data)
ASN1VisitorNULL data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(OBJECT_IDENTIFIER data)
ASN1VisitorOBJECT_IDENTIFIER data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(REAL data)
ASN1VisitorREAL data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(ENUMERATED data)
ASN1VisitorENUMERATED data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(RELATIVE_OID data)
ASN1VisitorRELATIVE_OID data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(ANY data)
ASN1VisitorANY data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(CHOICE data)
ASN1VisitorCHOICE data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(SEQUENCE_OF<? extends ASN1Type> data)
ASN1VisitorSEQUENCE_OF data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(SEQUENCE data)
ASN1VisitorSEQUENCE data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(SET_OF<? extends ASN1Type> data)
ASN1VisitorSET_OF data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(SET data)
ASN1VisitorSET data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(StringType data)
ASN1VisitorStringType data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(TimeType data)
ASN1VisitorTimeType data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
public jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder visit(UnknownType data)
throws org.xml.sax.SAXException
ASN1VisitorUnknownType data.
visit in interface ASN1Visitor<jp.bitmeister.asn1.codec.xer.XerDecoder.DataDecoder,org.xml.sax.SAXException>data - The data to be visited.
org.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||