public class XSNameBinding extends AbstractSimpleBinding
<xs:simpleType name="Name" id="Name">
<xs:annotation>
<xs:documentation source="http://www.w3.org/TR/xmlschema-2/#Name"/>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:pattern value="\i\c*" id="Name.pattern">
<xs:annotation>
<xs:documentation
source="http://www.w3.org/TR/REC-xml#NT-Name">
pattern matches production 5 from the XML spec </xs:documentation>
</xs:annotation>
</xs:pattern>
</xs:restriction>
</xs:simpleType>
| Constructor and Description |
|---|
XSNameBinding() |
| Modifier and Type | Method and Description |
|---|---|
int |
getExecutionMode() |
QName |
getTarget() |
Class |
getType()
This binding simply delegates to its parent binding which returns an object of type
String |
Object |
parse(InstanceComponent instance,
Object value)
This binding simply delegates to its parent binding which returns an object of type
String |
encodepublic QName getTarget()
public int getExecutionMode()
getExecutionMode in interface BindinggetExecutionMode in class AbstractSimpleBindingBinding.AFTER,
Binding.BEFORE,
Binding.OVERRIDEpublic Class getType()
String.
public Object parse(InstanceComponent instance, Object value) throws Exception
String.
parse in interface SimpleBindingparse in class AbstractSimpleBindinginstance - 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.ExceptionCopyright © 1996–2019 Geotools. All rights reserved.