Package org.xmlet.xsdparser.xsdelements
Class XsdAnnotationChildren
- java.lang.Object
-
- org.xmlet.xsdparser.xsdelements.XsdAbstractElement
-
- org.xmlet.xsdparser.xsdelements.XsdAnnotationChildren
-
- Direct Known Subclasses:
XsdAppInfo,XsdDocumentation
public abstract class XsdAnnotationChildren extends XsdAbstractElement
This class serves as a base to bothXsdAppInfoandXsdDocumentationsince they share similarities.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringcontentThe textual content of the current element, eitherXsdAppInfoorXsdDocumentation.private java.lang.StringsourceAn URI that specifies a source for the application information.-
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 Constructor Description XsdAnnotationChildren(XsdParserCore parser, java.util.Map<java.lang.String,java.lang.String> attributesMap)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContent()java.lang.StringgetSource()XsdAbstractElementVisitorgetVisitor()Obtains the visitor of a concreteXsdAbstractElementinstance.(package private) static ReferenceBasexsdAnnotationChildrenParse(org.w3c.dom.Node node, XsdAnnotationChildren annotationChildren)This method is used to parseXsdAnnotationChildreninstances.-
Methods inherited from class org.xmlet.xsdparser.xsdelements.XsdAbstractElement
accept, clone, clone, compareReference, compareReference, convertNodeMap, getAttributesMap, getCloneOf, getElements, getParent, getParent, getParser, getXsdElements, getXsdSchema, getXsdSchema, replaceUnsolvedElements, setCloneOf, setParent, setParentAvailable, validateSchemaRules, xsdParseSkeleton, xsdRawContentParse
-
-
-
-
Field Detail
-
source
private java.lang.String source
An URI that specifies a source for the application information.
-
content
private java.lang.String content
The textual content of the current element, eitherXsdAppInfoorXsdDocumentation.
-
-
Constructor Detail
-
XsdAnnotationChildren
XsdAnnotationChildren(@NotNull XsdParserCore parser, @NotNull java.util.Map<java.lang.String,java.lang.String> attributesMap)
-
-
Method Detail
-
getVisitor
public XsdAbstractElementVisitor getVisitor()
Description copied from class:XsdAbstractElementObtains the visitor of a concreteXsdAbstractElementinstance.- Overrides:
getVisitorin classXsdAbstractElement- Returns:
- Always returns a
VisitorNotFoundExceptionsince the descendants of this class shouldn't be visited since they aren't allowed to have children.
-
getSource
public java.lang.String getSource()
-
getContent
public java.lang.String getContent()
-
xsdAnnotationChildrenParse
static ReferenceBase xsdAnnotationChildrenParse(org.w3c.dom.Node node, XsdAnnotationChildren annotationChildren)
This method is used to parseXsdAnnotationChildreninstances.- Parameters:
node- The node containing the information to parse.annotationChildren- An instance ofXsdAnnotationChildren(eitherXsdAppInfoorXsdDocumentation).- Returns:
- The annotationChildren wrapped in the correct
ReferenceBasewrapper.
-
-