Package org.xmlet.xsdparser.xsdelements
Class XsdAnnotatedElements
- java.lang.Object
-
- org.xmlet.xsdparser.xsdelements.XsdAbstractElement
-
- org.xmlet.xsdparser.xsdelements.XsdIdentifierElements
-
- org.xmlet.xsdparser.xsdelements.XsdAnnotatedElements
-
- Direct Known Subclasses:
XsdComplexContent,XsdExtension,XsdImport,XsdInclude,XsdIntegerRestrictions,XsdList,XsdMultipleElements,XsdNamedElements,XsdRestriction,XsdSchema,XsdSimpleContent,XsdStringRestrictions,XsdUnion,XsdWhiteSpace
public abstract class XsdAnnotatedElements extends XsdIdentifierElements
Serves as a base to everyXsdAbstractElementconcrete type which can have xsd:annotation as children. Extends fromXsdIdentifierElementsbecause every concrete type that can contain xsd:annotation has children can also have anXsdIdentifierElements.idfield.
-
-
Field Summary
Fields Modifier and Type Field Description private XsdAnnotationannotationTheXsdAnnotationthat is annotating the concrete instances of this class.-
Fields inherited from class org.xmlet.xsdparser.xsdelements.XsdAbstractElement
ABSTRACT_TAG, ATTRIBUTE_FORM_DEFAULT, attributesMap, BASE_TAG, BLOCK_DEFAULT, BLOCK_TAG, cloneOf, DEFAULT_ELEMENT_TAG, DEFAULT_TAG, ELEMENT_FORM_DEFAULT, 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, parentAvailable, parser, REF_TAG, SCHEMA_LOCATION, SOURCE_TAG, SUBSTITUTION_GROUP_TAG, TARGET_NAMESPACE, TYPE_TAG, USE_TAG, VALUE_TAG, VERSION, visitor, visitorFunction, XML_LANG_TAG, XMLNS
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedXsdAnnotatedElements(XsdParserCore parser, java.util.Map<java.lang.String,java.lang.String> elementFieldsMapParam, java.util.function.Function<XsdAbstractElement,XsdAbstractElementVisitor> visitorFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XsdAnnotationgetAnnotation()voidsetAnnotation(XsdAnnotation annotation)-
Methods inherited from class org.xmlet.xsdparser.xsdelements.XsdIdentifierElements
getId
-
Methods inherited from class org.xmlet.xsdparser.xsdelements.XsdAbstractElement
accept, clone, clone, compareReference, compareReference, convertNodeMap, getAttributesMap, getCloneOf, getElements, getParent, getParent, getParser, getVisitor, getXsdElements, getXsdSchema, getXsdSchema, replaceUnsolvedElements, setCloneOf, setParent, setParentAvailable, validateSchemaRules, xsdParseSkeleton, xsdRawContentParse
-
-
-
-
Field Detail
-
annotation
private XsdAnnotation annotation
TheXsdAnnotationthat is annotating the concrete instances of this class.
-
-
Constructor Detail
-
XsdAnnotatedElements
protected XsdAnnotatedElements(@NotNull XsdParserCore parser, @NotNull java.util.Map<java.lang.String,java.lang.String> elementFieldsMapParam, java.util.function.Function<XsdAbstractElement,XsdAbstractElementVisitor> visitorFunction)
-
-
Method Detail
-
setAnnotation
public void setAnnotation(XsdAnnotation annotation)
-
getAnnotation
public XsdAnnotation getAnnotation()
-
-