public class XSNCNameBinding extends AbstractSimpleBinding
<xs:simpleType name="NCName" id="NCName">
<xs:annotation>
<xs:documentation source="http://www.w3.org/TR/xmlschema-2/#NCName"/>
</xs:annotation>
<xs:restriction base="xs:Name">
<xs:pattern value="[\i-[:]][\c-[:]]*" id="NCName.pattern">
<xs:annotation>
<xs:documentation
source="http://www.w3.org/TR/REC-xml-names/#NT-NCName">
pattern matches production 4 from the Namespaces in
XML spec </xs:documentation>
</xs:annotation>
</xs:pattern>
</xs:restriction>
</xs:simpleType>
| Constructor and Description |
|---|
XSNCNameBinding() |
| Modifier and Type | Method and Description |
|---|---|
int |
getExecutionMode() |
QName |
getTarget() |
Class |
getType() |
Object |
parse(InstanceComponent instance,
Object value) |
encodepublic QName getTarget()
public int getExecutionMode()
getExecutionMode in interface BindinggetExecutionMode in class AbstractSimpleBindingBinding.AFTER,
Binding.BEFORE,
Binding.OVERRIDEpublic Class getType()
public Object parse(InstanceComponent instance, Object value) throws Exception
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.