|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.objsys.asn1j.runtime.Asn1XmlEncodeHelper
public class Asn1XmlEncodeHelper
Constructor Summary | |
---|---|
Asn1XmlEncodeHelper(Asn1XmlEncoder encoder)
|
Method Summary | |
---|---|
void |
encodeByte(byte value)
This method is used to encode a single byte to the output stream. |
void |
encodeEmptyElement(java.lang.String elemName,
java.lang.String nsPrefix)
This method encodes an XML empty element tag |
void |
encodeEndElement(java.lang.String elemName,
java.lang.String nsPrefix)
This method encodes an XML end element tag |
void |
encodeStartElement(java.lang.String elemName,
java.lang.String nsPrefix,
boolean terminate)
This method encodes an XML start element tag. |
void |
setMixedContent(boolean value)
This method sets the mixed content flag which indicates that this buffer will be used to encode mixed content. |
void |
setTermStart(boolean value)
This method sets the start element termination required flag. |
void |
setXMLState(int value)
This method sets the XML state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Asn1XmlEncodeHelper(Asn1XmlEncoder encoder)
Method Detail |
---|
public void encodeByte(byte value) throws java.io.IOException
value
- The byte value to copy
IOException
- Any exception thrown by the underlying OutputStream.public void encodeStartElement(java.lang.String elemName, java.lang.String nsPrefix, boolean terminate) throws Asn1Exception, java.io.IOException
elemName
- The name of element.nsPrefix
- The namespace prefix of element.
Asn1Exception
- Thrown, if operation is failed.
java.io.IOException
public void encodeEndElement(java.lang.String elemName, java.lang.String nsPrefix) throws java.io.IOException, Asn1Exception
elemName
- The name of element.nsPrefix
- Namespace prefix.
java.io.IOException
Asn1Exception
public void encodeEmptyElement(java.lang.String elemName, java.lang.String nsPrefix) throws java.io.IOException, Asn1Exception
elemName
- The name of element.nsPrefix
- The namespace prefix of element.
java.io.IOException
Asn1Exception
public void setMixedContent(boolean value)
value
- Boolean valuepublic void setTermStart(boolean value)
value
- Boolean valuepublic void setXMLState(int value)
value
- XML state value from Asn1XmlEncoder.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |