XsdAttribute, XsdAttributeGroup, XsdComplexType, XsdElement, XsdGroup, XsdSimpleTypepublic abstract class XsdNamedElements extends XsdAnnotatedElements
XsdAbstractElement classes that can have a name attribute. This is
helpful in resolving the references present at the end of the parsing process.| Modifier and Type | Field | Description |
|---|---|---|
(package private) String |
name |
The name of the element.
|
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| Constructor | Description |
|---|---|
XsdNamedElements(XsdParser parser,
Map<String,String> elementFieldsMapParam) |
| Modifier and Type | Method | Description |
|---|---|---|
abstract XsdNamedElements |
clone(Map<String,String> placeHolderAttributes) |
Performs a copy of the current object for replacing purposes.
|
String |
getName() |
|
String |
getRawName() |
|
private void |
rule1() |
Asserts that the current element doesn't have both ref and name attributes at the same time.
|
void |
setFields(Map<String,String> elementFieldsMapParam) |
Sets the name field with the value present in the Map containing the Node object.
|
void |
setName(String name) |
|
void |
validateSchemaRules() |
Runs verifications on each concrete element to ensure that the XSD schema rules are verified.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, convertNodeMap, getElementFieldsMap, getElements, getParent, getParser, getVisitor, getXsdElements, replaceUnsolvedElements, setParent, xsdParseSkeleton, xsdRawContentParsegetAnnotation, setAnnotationgetIdString name
public abstract XsdNamedElements clone(@NotNull Map<String,String> placeHolderAttributes)
UnsolvedReference objects in the reference solving process.placeHolderAttributes - The additional attributes to add to the clone.public void setFields(@NotNull
Map<String,String> elementFieldsMapParam)
setFields in class XsdIdentifierElementselementFieldsMapParam - The Map object containing the information previously contained in the Node object.public void validateSchemaRules()
validateSchemaRules in class XsdAbstractElementprivate void rule1()
public String getName()
public String getRawName()
public void setName(String name)
Copyright © 2018. All rights reserved.