Class XsdMinInclusive
- java.lang.Object
-
- org.xmlet.xsdparser.xsdelements.XsdAbstractElement
-
- org.xmlet.xsdparser.xsdelements.XsdIdentifierElements
-
- org.xmlet.xsdparser.xsdelements.XsdAnnotatedElements
-
- org.xmlet.xsdparser.xsdelements.xsdrestrictions.XsdStringRestrictions
-
- org.xmlet.xsdparser.xsdelements.xsdrestrictions.XsdMinInclusive
-
public class XsdMinInclusive extends XsdStringRestrictions
States the minimum value that a given type might take, including the respective value. The value is defined as aString. Example: If the type has aXsdMinInclusiveof 0 it means that the minimum value it can take is 0.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanfixedIndicates if the value is fixed.static java.lang.StringTAGstatic java.lang.StringXS_TAGstatic java.lang.StringXSD_TAG-
Fields inherited from class org.xmlet.xsdparser.xsdelements.XsdAbstractElement
ABSTRACT_TAG, ATTRIBUTE_FORM_DEFAULT, attributesMap, BASE_TAG, BLOCK_DEFAULT, BLOCK_TAG, 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, parentAvailable, REF_TAG, SCHEMA_LOCATION, SOURCE_TAG, SUBSTITUTION_GROUP_TAG, TARGET_NAMESPACE, TYPE_TAG, USE_TAG, VALUE_TAG, VERSION, visitorFunction, XML_LANG_TAG, XMLNS
-
-
Constructor Summary
Constructors Modifier Constructor Description privateXsdMinInclusive(XsdParserCore parser, java.util.Map<java.lang.String,java.lang.String> elementFieldsMapParam, java.util.function.Function<XsdAbstractElement,XsdAbstractElementVisitor> visitorFunction)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(XsdAbstractElementVisitor xsdAbstractElementVisitor)Base method for all accept methods.XsdMinInclusiveclone(java.util.Map<java.lang.String,java.lang.String> placeHolderAttributes)Performs a copy of the current object for replacing purposes.booleanisFixed()static ReferenceBaseparse(ParseData parseData)-
Methods inherited from class org.xmlet.xsdparser.xsdelements.xsdrestrictions.XsdStringRestrictions
getValue, hasDifferentValue
-
Methods inherited from class org.xmlet.xsdparser.xsdelements.XsdAnnotatedElements
getAnnotation, setAnnotation
-
Methods inherited from class org.xmlet.xsdparser.xsdelements.XsdIdentifierElements
getId
-
Methods inherited from class org.xmlet.xsdparser.xsdelements.XsdAbstractElement
clone, compareReference, convertNodeMap, getAttributesMap, getCloneOf, getElements, getParent, getParent, getParser, getVisitor, getXsdElements, getXsdSchema, getXsdSchema, replaceUnsolvedElements, setCloneOf, setParent, setParentAvailable, validateSchemaRules, xsdParseSkeleton
-
-
-
-
Field Detail
-
XSD_TAG
public static final java.lang.String XSD_TAG
- See Also:
- Constant Field Values
-
XS_TAG
public static final java.lang.String XS_TAG
- See Also:
- Constant Field Values
-
TAG
public static final java.lang.String TAG
- See Also:
- Constant Field Values
-
fixed
private boolean fixed
Indicates if the value is fixed.
-
-
Constructor Detail
-
XsdMinInclusive
private XsdMinInclusive(@NotNull XsdParserCore parser, @NotNull java.util.Map<java.lang.String,java.lang.String> elementFieldsMapParam, @NotNull java.util.function.Function<XsdAbstractElement,XsdAbstractElementVisitor> visitorFunction)
-
-
Method Detail
-
accept
public void accept(XsdAbstractElementVisitor xsdAbstractElementVisitor)
Description copied from class:XsdAbstractElementBase method for all accept methods. It serves as a way to guarantee that every accept call assigns the parent field.- Overrides:
acceptin classXsdAbstractElement- Parameters:
xsdAbstractElementVisitor- The visitor that is visiting the current instance.
-
clone
public XsdMinInclusive clone(@NotNull java.util.Map<java.lang.String,java.lang.String> placeHolderAttributes)
Performs a copy of the current object for replacing purposes. The cloned objects are used to replaceUnsolvedReferenceobjects in the reference solving process.- Overrides:
clonein classXsdAbstractElement- Parameters:
placeHolderAttributes- The additional attributes to add to the clone.- Returns:
- A copy of the object from which is called upon.
-
parse
public static ReferenceBase parse(@NotNull ParseData parseData)
-
isFixed
public boolean isFixed()
-
-