public class XSQNameBinding extends Object implements SimpleBinding
<xs:simpleType name="QName" id="QName">
<xs:annotation>
<xs:appinfo>
<hfp:hasFacet name="length"/>
<hfp:hasFacet name="minLength"/>
<hfp:hasFacet name="maxLength"/>
<hfp:hasFacet name="pattern"/>
<hfp:hasFacet name="enumeration"/>
<hfp:hasFacet name="whiteSpace"/>
<hfp:hasProperty name="ordered" value="false"/>
<hfp:hasProperty name="bounded" value="false"/>
<hfp:hasProperty name="cardinality" value="countably infinite"/>
<hfp:hasProperty name="numeric" value="false"/>
</xs:appinfo>
<xs:documentation source="http://www.w3.org/TR/xmlschema-2/#QName"/>
</xs:annotation>
<xs:restriction base="xs:anySimpleType">
<xs:whiteSpace value="collapse" fixed="true" id="QName.whiteSpace"/>
</xs:restriction>
</xs:simpleType>
| Modifier and Type | Field and Description |
|---|---|
protected NamespaceContext |
namespaceContext |
| Constructor and Description |
|---|
XSQNameBinding(NamespaceContext namespaceContext) |
| Modifier and Type | Method and Description |
|---|---|
String |
encode(Object object,
String value)
Performs the encoding of the object as a String.
|
int |
getExecutionMode() |
QName |
getTarget() |
Class |
getType()
This binding returns objects of type
QName |
Object |
parse(InstanceComponent instance,
Object value)
This binding returns objects of type
QName |
protected NamespaceContext namespaceContext
public XSQNameBinding(NamespaceContext namespaceContext)
public QName getTarget()
public int getExecutionMode()
getExecutionMode in interface BindingBinding.AFTER,
Binding.BEFORE,
Binding.OVERRIDEpublic Object parse(InstanceComponent instance, Object value) throws Exception
QName.
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) throws Exception
SimpleBindingencode in interface SimpleBindingobject - The object being encoded, never null.value - The string returned from another binding in the type hierachy, which could be
null.ExceptionCopyright © 1996–2019 Geotools. All rights reserved.