|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.objsys.asn1j.runtime.Asn1XmlUtil
public class Asn1XmlUtil
Constructor Summary | |
---|---|
Asn1XmlUtil()
|
Method Summary | |
---|---|
static void |
encodeDouble(Asn1XmlEncoder buffer,
double value)
This method encodes an ASN.1 real value using the XML encoding (non-XER). |
static void |
encodeDouble(Asn1XmlEncoder buffer,
double value,
java.lang.String elemName,
java.lang.String nsPrefix)
This method encodes an ASN.1 real value using the XML encoding (non-XER). |
static java.lang.String |
getXMLString(java.lang.String value)
This method will convert the given string value into XML character content by escaping special characters in the sting such as ampersand (&), left angle bracket (<), etc.. |
static boolean |
isMinusZero(double value)
This method will return true, if value is "minus zero" (-0) special XML value. |
static boolean |
isNaN(double value)
This method will return true, if value is "not-a-number" (NaN) special XML value. |
static java.lang.String[] |
tokenizeXsdList(java.lang.String listValue)
Return an array of strings representing the (lexical) values of an xsd:list |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Asn1XmlUtil()
Method Detail |
---|
public static void encodeDouble(Asn1XmlEncoder buffer, double value, java.lang.String elemName, java.lang.String nsPrefix) throws java.io.IOException, Asn1Exception
buffer
- Encode message buffer objectvalue
- Value to be encoded.elemName
- Element name
java.io.IOException
Asn1Exception
public static void encodeDouble(Asn1XmlEncoder buffer, double value) throws java.io.IOException, Asn1Exception
buffer
- Encode message buffer objectvalue
- Value to be encoded.
java.io.IOException
Asn1Exception
public static java.lang.String getXMLString(java.lang.String value)
value
- String to convert
public static boolean isMinusZero(double value)
value
- value to test
public static boolean isNaN(double value)
value
- value to test
public static java.lang.String[] tokenizeXsdList(java.lang.String listValue)
listValue
- the lexical value of the xsd:list. It need not have
whitepspace collapse applied yet.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |