public class XsdSimpleContent extends XsdAnnotatedElements
| Modifier and Type | Field | Description |
|---|---|---|
private ReferenceBase |
extension |
The
XsdExtension instance that is present in the XsdSimpleContent instance. |
private ReferenceBase |
restriction |
The
XsdRestriction instance that should be applied to the XsdSimpleContent instance. |
private XsdSimpleContentVisitor |
visitor |
XsdSimpleContentVisitor instance which restrict its children to XsdRestriction and
XsdExtension instances. |
static String |
XS_TAG |
|
static String |
XSD_TAG |
ABSTRACT_TAG, ATTRIBUTE_FORM_DEFAULT, BASE_TAG, BLOCK_DEFAULT, BLOCK_TAG, DEFAULT_ELEMENT_TAG, DEFAULT_TAG, ELEMENT_FORM_DEFAULT, elementFieldsMap, FINAL_DEFAULT, FINAL_TAG, FIXED_TAG, FORM_TAG, ID_TAG, ITEM_TYPE_TAG, MAX_OCCURS_TAG, MEMBER_TYPES_TAG, MIN_OCCURS_TAG, MIXED_TAG, NAME_TAG, NAMESPACE, NILLABLE_TAG, parent, parser, REF_TAG, SCHEMA_LOCATION, SOURCE_TAG, SUBSTITUTION_GROUP_TAG, TARGET_NAMESPACE, TYPE_TAG, USE_TAG, VALUE_TAG, VERSION, XML_LANG_TAG, XMLNS| Modifier | Constructor | Description |
|---|---|---|
private |
XsdSimpleContent(XsdParser parser,
Map<String,String> elementFieldsMapParam) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(XsdAbstractElementVisitor visitorParam) |
Base method for all accept methods.
|
XsdSimpleContentVisitor |
getVisitor() |
Obtains the visitor of a concrete
XsdAbstractElement instance. |
XsdExtension |
getXsdExtension() |
|
XsdRestriction |
getXsdRestriction() |
|
static ReferenceBase |
parse(XsdParser parser,
Node node) |
|
void |
setExtension(ReferenceBase extension) |
|
void |
setRestriction(ReferenceBase restriction) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertNodeMap, getElementFieldsMap, getElements, getParent, getParser, getXsdElements, replaceUnsolvedElements, setParent, validateSchemaRules, xsdParseSkeleton, xsdRawContentParsegetAnnotation, setAnnotationgetId, setFieldspublic static final String XSD_TAG
public static final String XS_TAG
private XsdSimpleContentVisitor visitor
XsdSimpleContentVisitor instance which restrict its children to XsdRestriction and
XsdExtension instances.
Can also have XsdAnnotation children as per inheritance of XsdAnnotatedElementsVisitor.private ReferenceBase restriction
XsdRestriction instance that should be applied to the XsdSimpleContent instance.private ReferenceBase extension
XsdExtension instance that is present in the XsdSimpleContent instance.public XsdSimpleContentVisitor getVisitor()
XsdAbstractElementXsdAbstractElement instance.getVisitor in class XsdAbstractElementpublic void accept(XsdAbstractElementVisitor visitorParam)
XsdAbstractElementaccept in class XsdAbstractElementvisitorParam - The visitor that is visiting the current instance.public XsdExtension getXsdExtension()
public XsdRestriction getXsdRestriction()
public static ReferenceBase parse(@NotNull XsdParser parser, Node node)
public void setRestriction(ReferenceBase restriction)
public void setExtension(ReferenceBase extension)
Copyright © 2018. All rights reserved.