|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.objsys.asn1j.runtime.Asn1Type
com.objsys.asn1j.runtime.Asn1BitString
com.objsys.asn1j.runtime.Asn1Xml_ABSTRACT_SYNTAX_property
| Field Summary | |
static int |
handles_invalid_encoding
|
| Fields inherited from class com.objsys.asn1j.runtime.Asn1BitString |
ASN1VALUE, BITS, HEX, mStringFormat, numbits, TAG, value |
| Fields inherited from class com.objsys.asn1j.runtime.Asn1Type |
BIT_STRING, BMPString, BOOLEAN, ENUMERATED, EOC, EXTERNAL, GeneralString, GeneralTime, GraphicString, IA5String, INTEGER, NULL, NumericString, OBJECT_IDENTIFIER, ObjectDescriptor, OCTET_STRING, OpenType, PrintableString, REAL, RelativeOID, SEQUENCE, SET, T61String, TeletexString, UniversalString, UTCTime, UTF8String, VideotexString, VisibleString |
| Constructor Summary | |
Asn1Xml_ABSTRACT_SYNTAX_property()
This constructor creates an empty bit string that can be used in a decode method call to receive a bit string value. |
|
Asn1Xml_ABSTRACT_SYNTAX_property(java.util.BitSet bitSet)
This constructor initializes the bit string value from the given BitSet object. |
|
Asn1Xml_ABSTRACT_SYNTAX_property(boolean[] bitValues)
This constructor initializes the bit string value from the given boolean array. |
|
Asn1Xml_ABSTRACT_SYNTAX_property(int numbits_,
byte[] data)
This constructor initializes the bit string value with the given number of bits and data. |
|
Asn1Xml_ABSTRACT_SYNTAX_property(java.lang.String value_)
This constructor parses the given ASN.1 value text (either a binary or hex data string) and assigns the values to the internal bit string. |
|
| Method Summary | |
void |
decodeXML(java.lang.String buffer,
java.lang.String attrs)
This method decodes an ASN.1 BIT STRING using the XML schema encoding rules. |
void |
encode(Asn1XmlEncodeBuffer buffer)
|
void |
encode(Asn1XmlEncoder buffer,
java.lang.String elemName,
java.lang.String nsPrefix)
This method encodes ASN.1 bit string type using the XML Encoding as specified in the XML schema standard. |
| Methods inherited from class com.objsys.asn1j.runtime.Asn1BitString |
clear, decode, decode, decode, decodeXER, encode, encode, encode, encode, encode, encode, encode, encode, equals, equals, getLength, isNamedBitStr, isSet, set, set, toBoolArray, toHexString, toString |
| Methods inherited from class com.objsys.asn1j.runtime.Asn1Type |
clone, decode, decode, decode, encode, encode, encode, encodeAttribute, getTypeName, indent, isOpenType, matchTag, matchTag, pdiag, print, setKey, setOpenType |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int handles_invalid_encoding
| Constructor Detail |
public Asn1Xml_ABSTRACT_SYNTAX_property()
public Asn1Xml_ABSTRACT_SYNTAX_property(int numbits_,
byte[] data)
numbits_ - Number of bitsdata - Binary bit string contentspublic Asn1Xml_ABSTRACT_SYNTAX_property(boolean[] bitValues)
bitValues - The boolean array
public Asn1Xml_ABSTRACT_SYNTAX_property(java.lang.String value_)
throws Asn1ValueParseException
value_ - The ASN.1 value specification textpublic Asn1Xml_ABSTRACT_SYNTAX_property(java.util.BitSet bitSet)
bitSet - Java BitSet object| Method Detail |
public void decodeXML(java.lang.String buffer,
java.lang.String attrs)
throws Asn1Exception
Asn1BitString
decodeXML in interface Asn1TypeIFdecodeXML in class Asn1BitStringbuffer - String containing data to be decodedattrs - Attributes string from element tag
Asn1Exception
public void encode(Asn1XmlEncodeBuffer buffer)
throws Asn1Exception,
java.io.IOException
Asn1Exception
java.io.IOException
public void encode(Asn1XmlEncoder buffer,
java.lang.String elemName,
java.lang.String nsPrefix)
throws Asn1Exception,
java.io.IOException
Asn1BitString
encode in interface Asn1TypeIFencode in class Asn1BitStringbuffer - Encode message buffer objectelemName - XML element name used to wrap stringnsPrefix - XML element namespace prefix
Asn1Exception
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||