XsdEnumeration, XsdPatternpublic class XsdStringRestrictions extends XsdAnnotatedElements
String.
Classes like XsdPattern or XsdEnumeration should extend this class.| Modifier and Type | Field | Description |
|---|---|---|
private String |
value |
The value of associated with a given restriction.
|
private XsdAnnotatedElementsVisitor |
visitor |
elementFieldsMap, FIXED_TAG, NAME_TAG, REF_TAG, VALUE_TAG| Constructor | Description |
|---|---|
XsdStringRestrictions(XsdParser parser,
Map<String,String> elementFieldsMapParam) |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getValue() |
|
XsdAnnotatedElementsVisitor |
getVisitor() |
Obtains the visitor of a concrete
XsdAbstractElement instance. |
static boolean |
hasDifferentValue(XsdStringRestrictions o1,
XsdStringRestrictions o2) |
Compares two different objects of this type.
|
void |
setFields(Map<String,String> elementFieldsMapParam) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, convertNodeMap, getElementFieldsMap, getElements, getParent, getParser, getXsdElements, replaceUnsolvedElements, setParent, validateSchemaRulesgetAnnotation, setAnnotationgetIdprivate XsdAnnotatedElementsVisitor visitor
private String value
XsdEnumeration this field means that the attribute which
has the restriction can only have the value that is specified in this field.public XsdAnnotatedElementsVisitor getVisitor()
XsdAbstractElementXsdAbstractElement instance.getVisitor in class XsdAbstractElementpublic void setFields(@NotNull
Map<String,String> elementFieldsMapParam)
XsdIdentifierElementssetFields in class XsdIdentifierElementselementFieldsMapParam - The Map object containing the information previously contained in the
Node object.public static boolean hasDifferentValue(XsdStringRestrictions o1, XsdStringRestrictions o2)
o1 - The first object.o2 - The object to compare.public String getValue()
Copyright © 2018. All rights reserved.