public class XSAnySimpleTypeBinding extends Object implements SimpleBinding
<xs:simpleType name="anySimpleType" id="anySimpleType">
<xs:restriction base="xs:anyType"/>
</xs:simpleType>
| Constructor and Description |
|---|
XSAnySimpleTypeBinding() |
| Modifier and Type | Method and Description |
|---|---|
String |
encode(Object object,
String value) |
int |
getExecutionMode() |
QName |
getTarget() |
Class |
getType()
This binding returns object of type String
|
Object |
parse(InstanceComponent instance,
Object value)
This method returns the value paramter, which is the facet parsed string passed in from the
framework
|
public QName getTarget()
public int getExecutionMode()
getExecutionMode in interface BindingBinding.AFTER,
Binding.BEFORE,
Binding.OVERRIDEpublic Class getType()
public Object parse(InstanceComponent instance, Object value) throws Exception
parse in interface SimpleBindinginstance - The component being parsed.value - The result of the parse from another strategy in the type hierarchy. Could be
null if this is the first strategy being executed.Exceptionpublic String encode(Object object, String value)
encode in interface SimpleBindingobject - The object being encoded, never null.value - The string returned from another binding in the type hierachy, which could be
null.Copyright © 1996–2021 Geotools. All rights reserved.