public class XmlTypesParser
extends java.lang.Object
Constructor and Description |
---|
XmlTypesParser(BinaryDataService binaryDataService,
Namespace namespace)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getLSPSObject(java.lang.String xsdType,
java.lang.String value,
SimpleType type)
Converts xsd string to object of SimpleType.
|
boolean |
isNilled(org.w3c.dom.Element element)
Simple method which determine if the element is nilled.
|
long |
processBinaryData(java.lang.String xsdType,
java.lang.String value)
Converts string of encoded binary data to BinaryHandle object.
|
public XmlTypesParser(BinaryDataService binaryDataService, Namespace namespace)
binaryDataService
- namespace
- public long processBinaryData(java.lang.String xsdType, java.lang.String value) throws XmlParsingException
xsdType
- xsd type of string representationvalue
- string representation of binary dataXmlParsingException
- occurs if binaryHandleObject was not of required type.public java.lang.Object getLSPSObject(java.lang.String xsdType, java.lang.String value, SimpleType type) throws XmlParsingException
value
- string to be convertedxsdType
- xsd type of given string representationtype
- desired type of the result objectXmlParsingException
- occurs if it wasn't possible to convert given string to
objectpublic boolean isNilled(org.w3c.dom.Element element)
element
- target elementCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.