public class XmlTypesParser extends Object
Constructor and Description |
---|
XmlTypesParser(BinaryDataService binaryDataService,
Namespace namespace)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
getLSPSObject(String xsdType,
String value,
SimpleType type)
Converts xsd string to object of SimpleType.
|
boolean |
isNilled(Element element)
Simple method which determine if the element is nilled.
|
long |
processBinaryData(String xsdType,
String value)
Converts string of encoded binary data to BinaryHandle object.
|
public XmlTypesParser(BinaryDataService binaryDataService, Namespace namespace)
binaryDataService
- namespace
- public long processBinaryData(String xsdType, String value) throws XmlParsingException
xsdType
- xsd type of string representationvalue
- string representation of binary dataXmlParsingException
- occurs if binaryHandleObject was not of required type.public Object getLSPSObject(String xsdType, 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(Element element)
element
- target elementCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.