public class Asn1XmlAnyElem extends Asn1UTF8String
Modifier and Type | Class and Description |
---|---|
class |
Asn1XmlAnyElem.XsdAnySaxHandler |
TAG
mStringBuffer, value
BIT_STRING, BMPString, BOOLEAN, DATE, DATE_TIME, DURATION, ENUMERATED, EOC, EXTERNAL, GeneralString, GeneralTime, GraphicString, IA5String, INTEGER, mNonParameterizedTypeName, NULL, NumericString, OBJECT_IDENTIFIER, ObjectDescriptor, OCTET_STRING, OID_IRI, OpenType, PrintableString, REAL, RELATIVE_OID_IRI, RelativeOID, SEQUENCE, SET, T61String, TeletexString, TIME, TIME_OF_DAY, UniversalString, UTCTime, UTF8String, VideotexString, VisibleString
Constructor and Description |
---|
Asn1XmlAnyElem()
The default constructor initializes the underlying UTF-8 string
object.
|
Asn1XmlAnyElem(java.lang.String value)
This constructor sets the underlying XML string value.
|
Modifier and Type | Method and Description |
---|---|
void |
encode(Asn1XmlEncoder buffer,
java.lang.String elemName,
java.lang.String nsPrefix)
This method encodes the string in XML format.
|
Asn1XerSaxHandler |
getSaxHandler() |
decode, decode, decode, decode, decode, decode, decodeUTF8, decodeUTF8, encode, encode, encode, encode, encode, encode, encode, encode, encode, encode, encode, setAnyAttribute
decode, decode, decode, decode, decodeByteToChar, decodeInternal, decodeXER, decodeXML, encode, encode, encode, encode, encode, encode, equals, equals, getAsn1TypeName, getLength, hashCode, toString, validate
_setKey, _setLicLocation, clone, decode, decode, decode, decode, decode, decode, decode, decode, decode, decode, encode, encode, encode, encode, encode, encodeAsOpenType, equals, getNonParameterizedTypeName, getTypeName, indent, indent, isOpenType, matchTag, matchTag, pdiag, print, print, print, setNonParameterizedTypeName, setOpenType
public Asn1XmlAnyElem()
public Asn1XmlAnyElem(java.lang.String value)
value
- String containing well-formed XML text.public void encode(Asn1XmlEncoder buffer, java.lang.String elemName, java.lang.String nsPrefix) throws Asn1Exception, java.io.IOException
encode
in class Asn1CharString
buffer
- XML encode buffer or stream object.elemName
- Local name of the element (if any).nsPrefix
- Namespace prefix (if any).Asn1Exception
- Thrown, if operation is failed.java.io.IOException
- Any exception thrown by the underlying stream.public Asn1XerSaxHandler getSaxHandler()