|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Asn1XerEncoder
This is a base interface for encoding of ASN.1 messages as specified in the XML Encoding Rules (XER) as specified in the ITU-T X.693 standard. It is implemented by both the Asn1XerEncodeBuffer and Asn1XerOutputStream.
Field Summary | |
---|---|
static int |
XERDATA
|
static int |
XEREND
|
static int |
XERINDENT
|
static int |
XERINIT
|
static int |
XERSTART
|
Method Summary | |
---|---|
void |
encodeEmptyElement(java.lang.String elemName)
This method encodes an XML empty element tag. |
void |
encodeEndElement(java.lang.String elemName)
This method encodes an XML end element tag. |
void |
encodeNamedValue(java.lang.String valueName,
java.lang.String elemName)
This method encodes an XML named value (with start and end tags). |
void |
encodeRealValue(double valueName,
java.lang.String elemName)
This method encodes an XML REAL (double) value (with start and end tags). |
void |
encodeStartElement(java.lang.String elemName)
This method encodes an XML start element tag. |
int |
getState()
This method gets the state of the buffer. |
void |
setState(int stat)
This method sets the state of the buffer. |
Methods inherited from interface com.objsys.asn1j.runtime.Asn1XmlXerEncoder |
---|
copy, copy, copy, copy, decrLevel, encodeBinStrValue, encodeData, encodeEndDocument, encodeHexStrValue, encodeNamedValueElement, encodeStartDocument, getContext, incrLevel, indent |
Field Detail |
---|
static final int XERINDENT
static final int XERINIT
static final int XERSTART
static final int XERDATA
static final int XEREND
Method Detail |
---|
void encodeStartElement(java.lang.String elemName) throws java.io.IOException, Asn1Exception
elemName
- The name of element.
java.io.IOException
- If I/O error occurs.
Asn1Exception
- Thrown, if operation is failed.void encodeEndElement(java.lang.String elemName) throws java.io.IOException, Asn1Exception
elemName
- The name of element.
java.io.IOException
- If I/O error occurs.
Asn1Exception
- Thrown, if operation is failed.void encodeEmptyElement(java.lang.String elemName) throws java.io.IOException, Asn1Exception
elemName
- The name of element.
java.io.IOException
- If I/O error occurs.
Asn1Exception
- Thrown, if operation is failed.void encodeNamedValue(java.lang.String valueName, java.lang.String elemName) throws java.io.IOException, Asn1Exception
valueName
- The name of value.elemName
- The name of element.
java.io.IOException
- If I/O error occurs.
Asn1Exception
- Thrown, if operation is failed.void encodeRealValue(double valueName, java.lang.String elemName) throws java.io.IOException, Asn1Exception
valueName
- The name of value.elemName
- The name of element. If null, then start and end
tags won't be encoded.
java.io.IOException
- If I/O error occurs.
Asn1Exception
- Thrown, if operation is failed.int getState()
void setState(int stat)
stat
- Buffer Stat
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |