|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectXSAnySimpleTypeBinding
public class XSAnySimpleTypeBinding
Binding object for the type http://www.w3.org/2001/XMLSchema:anySimpleType.
<xs:simpleType name="anySimpleType" id="anySimpleType">
<xs:restriction base="xs:anyType"/>
</xs:simpleType>
modules/extension/xsd-core (gt-xsd-core.jar)
Field Summary |
---|
Fields inherited from interface Binding |
---|
AFTER, BEFORE, OVERRIDE |
Constructor Summary | |
---|---|
XSAnySimpleTypeBinding()
|
Method Summary | |
---|---|
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 |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XSAnySimpleTypeBinding()
Method Detail |
---|
public QName getTarget()
getTarget
in interface Binding
public int getExecutionMode()
getExecutionMode
in interface Binding
Binding.AFTER
,
Binding.BEFORE
,
Binding.OVERRIDE
public Class getType()
getType
in interface Binding
public Object parse(InstanceComponent instance, Object value) throws Exception
parse
in interface SimpleBinding
instance
- 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.
Exception
public String encode(Object object, String value)
encode
in interface SimpleBinding
object
- The object being encoded, never null.value
- The string returned from another binding in the type
hierachy, which could be null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |