public interface Asn1XerEncoder extends Asn1XmlXerEncoder
Modifier and Type | Field and Description |
---|---|
static int |
XERDATA |
static int |
XEREND |
static int |
XERINDENT |
static int |
XERINIT |
static int |
XERSTART |
Modifier and Type | Method and Description |
---|---|
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.
|
copy, copy, copy, copy, decrLevel, encodeBinStrValue, encodeData, encodeEndDocument, encodeHexStrValue, encodeNamedValueElement, encodeStartDocument, getContext, incrLevel, indent, isCanonical
static final int XERINDENT
static final int XERINIT
static final int XERSTART
static final int XERDATA
static final int XEREND
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