|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.xsd.impl.XSDConcreteComponentImpl
org.eclipse.xsd.impl.XSDComponentImpl
org.eclipse.xsd.impl.XSDNamedComponentImpl
org.eclipse.xsd.impl.XSDRedefinableComponentImpl
org.eclipse.xsd.impl.XSDTypeDefinitionImpl
org.eclipse.xsd.impl.XSDSimpleTypeDefinitionImpl
An implementation of the model object 'Simple Type Definition'.
The following features are implemented:
VarietyFinalLexical FinalValid FacetsContentsFacet ContentsFacetsMember Type DefinitionsFundamental FacetsBase Type DefinitionPrimitive Type DefinitionItem Type DefinitionRoot Type DefinitionMin FacetMax FacetMax Inclusive FacetMin Inclusive FacetMin Exclusive FacetMax Exclusive FacetLength FacetWhite Space FacetEnumeration FacetsPattern FacetsCardinality FacetNumeric FacetMax Length FacetMin Length FacetTotal Digits FacetFraction Digits FacetOrdered FacetBounded FacetEffective Max FacetEffective White Space FacetEffective Max Length FacetEffective Fraction Digits FacetEffective Pattern FacetEffective Enumeration FacetEffective Total Digits FacetEffective Min Length FacetEffective Length FacetEffective Min FacetSynthetic Facets
| Nested Class Summary | |
static class |
XSDSimpleTypeDefinitionImpl.AssessmentImpl
This is used to gather selectively the information determined when assessing a literal string with respect to a XSDSimpleTypeDefinition.
|
| Nested classes inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl |
XSDNamedComponentImpl.Comparator, XSDNamedComponentImpl.StringPairComparator |
| Nested classes inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
XSDConcreteComponentImpl.XSDContentsEList |
| Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
BasicNotifierImpl.EAdapterList |
| Nested classes inherited from class org.eclipse.xsd.XSDSimpleTypeDefinition |
XSDSimpleTypeDefinition.Assessment |
| Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
InternalEObject.EStore |
| Field Summary | |
protected XSDSimpleTypeDefinition |
baseTypeDefinition
The cached value of the ' Base Type Definition' reference |
protected XSDBoundedFacet |
boundedFacet
|
protected XSDCardinalityFacet |
cardinalityFacet
|
protected EList |
contents
The cached value of the ' Contents' containment reference list |
protected XSDEnumerationFacetImpl |
effectiveEnumerationFacet
|
protected XSDPatternFacetImpl |
effectivePatternFacet
|
protected XSDWhiteSpaceFacet |
effectiveWhiteSpaceFacet
|
protected EList |
facetContents
The cached value of the ' Facet Contents' containment reference list |
protected EList |
facets
The cached value of the ' Facets' reference list |
protected EList |
final_
The cached value of the ' Final' attribute list |
protected EList |
fundamentalFacets
The cached value of the ' Fundamental Facets' containment reference list |
protected XSDSimpleTypeDefinition |
itemTypeDefinition
The cached value of the ' Item Type Definition' reference |
protected EList |
lexicalFinal
The cached value of the ' Lexical Final' attribute list |
protected EList |
memberTypeDefinitions
The cached value of the ' Member Type Definitions' reference list |
protected XSDNumericFacet |
numericFacet
|
protected XSDOrderedFacet |
orderedFacet
|
protected XSDSimpleTypeDefinition |
primitiveTypeDefinition
The cached value of the ' Primitive Type Definition' reference |
protected EList |
syntheticFacets
The cached value of the ' Synthetic Facets' containment reference list |
protected EList |
validFacets
The cached value of the ' Valid Facets' attribute list |
protected static EList |
validFacetsForList
|
protected static EList |
validFacetsForUnion
|
protected XSDVariety |
variety
The cached value of the ' Variety' attribute |
protected static XSDVariety |
VARIETY_EDEFAULT
The default value of the ' Variety' attribute |
protected boolean |
varietyESet
This is true if the Variety attribute has been set |
| Fields inherited from class org.eclipse.xsd.impl.XSDTypeDefinitionImpl |
analysisState, annotation, annotations, derivationAnnotation |
| Fields inherited from class org.eclipse.xsd.impl.XSDRedefinableComponentImpl |
CIRCULAR_EDEFAULT |
| Fields inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl |
ALIAS_NAME_EDEFAULT, ALIAS_URI_EDEFAULT, name, NAME_EDEFAULT, QNAME_EDEFAULT, TARGET_NAMESPACE_EDEFAULT, targetNamespace, URI_EDEFAULT |
| Fields inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ELEMENT_EDEFAULT, ERROR, FATAL, INFORMATION, isReconciling, UNANALYZED, updatingDOM, WARNING, xsdContents |
| Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
protected |
XSDSimpleTypeDefinitionImpl()
|
| Method Summary | |
protected void |
adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
XSDSimpleTypeDefinition.Assessment |
assess(Node node)
Returns an assessment of the node. |
XSDSimpleTypeDefinition.Assessment |
assess(String literal)
Returns an assessment of the literal. |
XSDSimpleTypeDefinitionImpl.AssessmentImpl |
assess(XSDSimpleTypeDefinitionImpl.AssessmentImpl assessment)
|
protected void |
changeAttribute(EAttribute eAttribute)
|
protected void |
changeReference(EReference eReference)
|
XSDConcreteComponent |
cloneConcreteComponent(boolean deep,
boolean shareDOM)
Creates a clone of the component. |
int |
compareLiterals(String literal1,
String literal2)
Returns -1, 0, or 1,
depending on the order of the value of each of the given literals. |
int |
compareValues(Object value1,
Object value2)
Returns -1, 0, or 1,
depending on the order of the values. |
protected Element |
createChildElement()
|
Element |
createElement()
|
protected void |
createFundamentalFacets()
|
static XSDSimpleTypeDefinition |
createSimpleTypeDefinition(Node node)
|
Object |
eGet(EStructuralFeature eFeature,
boolean resolve)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
|
boolean |
eIsSet(EStructuralFeature eFeature)
|
boolean |
equalLiterals(String literal1,
String literal2)
Returns whether the value of each of the given literals are equal. |
boolean |
equalValues(Object value1,
Object value2)
Returns whether the values are equal. |
void |
eSet(EStructuralFeature eFeature,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(EStructuralFeature eFeature)
|
protected Node |
getAdoptionParentNode(EReference eReference)
|
XSDTypeDefinition |
getBadTypeDerivation(XSDTypeDefinition xsdTypeDefinition,
boolean extension,
boolean restriction)
Returns the first type between this and the given one, that derives from it's base in a way not permitted as constrained by Type Derivation OK Complex and Simple. |
XSDTypeDefinition |
getBaseType()
Returns the value of the 'Base Type' reference |
XSDSimpleTypeDefinition |
getBaseTypeDefinition()
|
XSDBoundedFacet |
getBoundedFacet()
Returns the value of the 'Bounded Facet' reference |
String |
getCanonicalLiteral(String literal)
Returns the canonical literal of the literal with respect to this simple type definition. |
XSDCardinalityFacet |
getCardinalityFacet()
Returns the value of the 'Cardinality Facet' reference |
XSDParticle |
getComplexType()
Returns the value of the 'Complex Type' reference |
protected Collection |
getContentNodes(Element changedElement)
|
EList |
getContents()
|
XSDEnumerationFacet |
getEffectiveEnumerationFacet()
Returns the value of the 'Effective Enumeration Facet' reference |
XSDFractionDigitsFacet |
getEffectiveFractionDigitsFacet()
Returns the value of the 'Effective Fraction Digits Facet' reference |
XSDLengthFacet |
getEffectiveLengthFacet()
Returns the value of the 'Effective Length Facet' reference |
XSDMaxFacet |
getEffectiveMaxFacet()
Returns the value of the 'Effective Max Facet' reference |
XSDMaxLengthFacet |
getEffectiveMaxLengthFacet()
Returns the value of the 'Effective Max Length Facet' reference |
XSDMinFacet |
getEffectiveMinFacet()
Returns the value of the 'Effective Min Facet' reference |
XSDMinLengthFacet |
getEffectiveMinLengthFacet()
Returns the value of the 'Effective Min Length Facet' reference |
XSDPatternFacet |
getEffectivePatternFacet()
Returns the value of the 'Effective Pattern Facet' reference |
XSDTotalDigitsFacet |
getEffectiveTotalDigitsFacet()
Returns the value of the 'Effective Total Digits Facet' reference |
XSDWhiteSpaceFacet |
getEffectiveWhiteSpaceFacet()
Returns the value of the 'Effective White Space Facet' reference |
EList |
getEnumerationFacets()
Returns the value of the 'Enumeration Facets' reference list. |
EList |
getFacetContents()
|
EList |
getFacets()
|
EList |
getFinal()
|
XSDFractionDigitsFacet |
getFractionDigitsFacet()
Returns the value of the 'Fraction Digits Facet' reference |
EList |
getFundamentalFacets()
|
XSDSimpleTypeDefinition |
getItemTypeDefinition()
|
XSDLengthFacet |
getLengthFacet()
Returns the value of the 'Length Facet' reference |
EList |
getLexicalFinal()
|
XSDMaxExclusiveFacet |
getMaxExclusiveFacet()
Returns the value of the 'Max Exclusive Facet' reference |
XSDMaxFacet |
getMaxFacet()
Returns the value of the 'Max Facet' reference |
XSDMaxInclusiveFacet |
getMaxInclusiveFacet()
Returns the value of the 'Max Inclusive Facet' reference |
XSDMaxLengthFacet |
getMaxLengthFacet()
Returns the value of the 'Max Length Facet' reference |
EList |
getMemberTypeDefinitions()
|
XSDMinExclusiveFacet |
getMinExclusiveFacet()
Returns the value of the 'Min Exclusive Facet' reference |
XSDMinFacet |
getMinFacet()
Returns the value of the 'Min Facet' reference |
XSDMinInclusiveFacet |
getMinInclusiveFacet()
Returns the value of the 'Min Inclusive Facet' reference |
XSDMinLengthFacet |
getMinLengthFacet()
Returns the value of the 'Min Length Facet' reference |
String |
getNormalizedLiteral(String literal)
Returns the normalized value of the literal with respect to this simple type definition. |
XSDNumericFacet |
getNumericFacet()
Returns the value of the 'Numeric Facet' reference |
XSDOrderedFacet |
getOrderedFacet()
Returns the value of the 'Ordered Facet' reference |
EList |
getPatternFacets()
Returns the value of the 'Pattern Facets' reference list. |
XSDSimpleTypeDefinition |
getPrimitiveTypeDefinition()
|
protected int |
getRequiredChildElementNodeType()
|
XSDTypeDefinition |
getRootType()
Returns the value of the 'Root Type' reference |
XSDSimpleTypeDefinition |
getRootTypeDefinition()
Returns the value of the 'Root Type Definition' reference |
XSDSimpleTypeDefinition |
getSimpleType()
Returns the value of the 'Simple Type' reference |
String |
getStringFinal()
Returns the String value of the ' Final' attribute list |
String |
getStringLexicalFinal()
Returns the String value of the ' Lexical Final' attribute list |
EList |
getSyntheticFacets()
|
XSDTotalDigitsFacet |
getTotalDigitsFacet()
Returns the value of the 'Total Digits Facet' reference |
EList |
getValidFacets()
|
EList |
getValidFacetsForList()
|
EList |
getValidFacetsForUnion()
|
Object |
getValue(String literal)
Returns the value of the literal in the value space of this simple type definition. |
XSDVariety |
getVariety()
|
XSDWhiteSpaceFacet |
getWhiteSpaceFacet()
Returns the value of the 'White Space Facet' reference |
protected void |
handleAnalysis()
|
protected XSDSimpleTypeDefinition |
handleNewBaseTypeDefinition(XSDSimpleTypeDefinition newBaseTypeDefinition)
|
protected void |
handleNewComplexBaseTypeDefinition(XSDTypeDefinition newComplexBaseTypeDefinition)
|
protected void |
handleReconciliation(List newContents,
List remainingContents)
|
protected void |
handleUnreconciledElement(Element child,
List newContents,
List remainingContents)
|
boolean |
isSetLexicalFinal()
|
boolean |
isSetVariety()
|
boolean |
isValidLiteral(String literal)
Returns whether the literal is valid with respect to this simple type definition. |
protected List |
mergeFacets()
|
protected void |
orphanContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected void |
patch()
|
protected void |
reconcileAttributes(Element changedElement)
|
void |
setBaseTypeDefinition(XSDSimpleTypeDefinition newBaseTypeDefinition)
|
void |
setItemTypeDefinition(XSDSimpleTypeDefinition newItemTypeDefinition)
|
void |
setPrimitiveTypeDefinition(XSDSimpleTypeDefinition newPrimitiveTypeDefinition)
|
void |
setStringLexicalFinal(String finalDefault)
Sets the String value of the ' Lexical Final' attribute |
void |
setVariety(XSDVariety newVariety)
|
String |
toString()
|
void |
unsetLexicalFinal()
|
void |
unsetVariety()
|
void |
validate()
Validates whether this component conforms to the constraints defined in the XML Schema standard. |
| Methods inherited from class org.eclipse.xsd.impl.XSDTypeDefinitionImpl |
analyze, basicSetAnnotation, basicSetDerivationAnnotation, createTypeDefinition, getAnnotation, getAnnotations, getDerivationAnnotation, getLowestCommonAncestor, isCircular, setAnnotation, setDerivationAnnotation |
| Methods inherited from class org.eclipse.xsd.impl.XSDRedefinableComponentImpl |
getCircular |
| Methods inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl |
addToSortedList, adoptBy, findInSortedList, getAliasName, getAliasURI, getName, getQName, getQName, getResolvedNamedComponent, getTargetNamespace, getURI, getURIReferenceLabel, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, isNamedComponentReference, mergeToSortedList, patchTargetNamespaceAttribute, reconcileNameAttribute, setName, setTargetNamespace, sortNamedComponents |
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.xsd.XSDTypeDefinition |
getAnnotation, getAnnotations, getDerivationAnnotation, setAnnotation, setDerivationAnnotation |
| Methods inherited from interface org.eclipse.xsd.XSDRedefinableComponent |
isCircular |
| Methods inherited from interface org.eclipse.xsd.XSDNamedComponent |
getAliasName, getAliasURI, getName, getQName, getQName, getTargetNamespace, getURI, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, setName, setTargetNamespace |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
| Field Detail |
protected static final XSDVariety VARIETY_EDEFAULT
Variety' attribute.
getVariety()protected XSDVariety variety
Variety' attribute.
getVariety()protected boolean varietyESet
protected EList final_
Final' attribute list.
getFinal()protected EList lexicalFinal
Lexical Final' attribute list.
getLexicalFinal()protected EList validFacets
Valid Facets' attribute list.
getValidFacets()protected EList contents
Contents' containment reference list.
getContents()protected EList facetContents
Facet Contents' containment reference list.
getFacetContents()protected EList facets
Facets' reference list.
getFacets()protected EList memberTypeDefinitions
Member Type Definitions' reference list.
getMemberTypeDefinitions()protected EList fundamentalFacets
Fundamental Facets' containment reference list.
getFundamentalFacets()protected XSDSimpleTypeDefinition baseTypeDefinition
Base Type Definition' reference.
getBaseTypeDefinition()protected XSDSimpleTypeDefinition primitiveTypeDefinition
Primitive Type Definition' reference.
getPrimitiveTypeDefinition()protected XSDSimpleTypeDefinition itemTypeDefinition
Item Type Definition' reference.
getItemTypeDefinition()protected EList syntheticFacets
Synthetic Facets' containment reference list.
getSyntheticFacets()protected XSDWhiteSpaceFacet effectiveWhiteSpaceFacet
protected XSDBoundedFacet boundedFacet
protected XSDCardinalityFacet cardinalityFacet
protected XSDNumericFacet numericFacet
protected XSDOrderedFacet orderedFacet
protected static EList validFacetsForList
protected static EList validFacetsForUnion
protected XSDEnumerationFacetImpl effectiveEnumerationFacet
protected XSDPatternFacetImpl effectivePatternFacet
| Constructor Detail |
protected XSDSimpleTypeDefinitionImpl()
| Method Detail |
public static XSDSimpleTypeDefinition createSimpleTypeDefinition(Node node)
protected EClass eStaticClass()
eStaticClass in class XSDTypeDefinitionImplpublic XSDVariety getVariety()
getVariety in interface XSDSimpleTypeDefinitionXSDVariety,
XSDSimpleTypeDefinition.isSetVariety(),
XSDSimpleTypeDefinition.unsetVariety(),
XSDSimpleTypeDefinition.setVariety(XSDVariety),
XSDPackage.getXSDSimpleTypeDefinition_Variety()public void setVariety(XSDVariety newVariety)
setVariety in interface XSDSimpleTypeDefinitionnewVariety - the new value of the 'Variety' attribute.XSDVariety,
XSDSimpleTypeDefinition.isSetVariety(),
XSDSimpleTypeDefinition.unsetVariety(),
XSDSimpleTypeDefinition.getVariety()public void unsetVariety()
unsetVariety in interface XSDSimpleTypeDefinitionXSDSimpleTypeDefinition.isSetVariety(),
XSDSimpleTypeDefinition.getVariety(),
XSDSimpleTypeDefinition.setVariety(XSDVariety)public boolean isSetVariety()
isSetVariety in interface XSDSimpleTypeDefinitionXSDSimpleTypeDefinition.unsetVariety(),
XSDSimpleTypeDefinition.getVariety(),
XSDSimpleTypeDefinition.setVariety(XSDVariety)public EList getFinal()
getFinal in interface XSDSimpleTypeDefinitionXSDSimpleTypeDefinition.getStringFinal(),
XSDSimpleFinal,
XSDPackage.getXSDSimpleTypeDefinition_Final()public EList getLexicalFinal()
getLexicalFinal in interface XSDSimpleTypeDefinitionXSDSimpleTypeDefinition.getStringLexicalFinal(),
XSDSimpleFinal,
XSDSimpleTypeDefinition.isSetLexicalFinal(),
XSDSimpleTypeDefinition.unsetLexicalFinal(),
XSDPackage.getXSDSimpleTypeDefinition_LexicalFinal()public void unsetLexicalFinal()
unsetLexicalFinal in interface XSDSimpleTypeDefinitionXSDSimpleTypeDefinition.isSetLexicalFinal(),
XSDSimpleTypeDefinition.getLexicalFinal()public boolean isSetLexicalFinal()
isSetLexicalFinal in interface XSDSimpleTypeDefinitionXSDSimpleTypeDefinition.unsetLexicalFinal(),
XSDSimpleTypeDefinition.getLexicalFinal()public EList getValidFacets()
getValidFacets in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_ValidFacets()public EList getContents()
getContents in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_Contents()public EList getFacetContents()
getFacetContents in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_FacetContents()public EList getFacets()
getFacets in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_Facets()public EList getMemberTypeDefinitions()
getMemberTypeDefinitions in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_MemberTypeDefinitions()public EList getFundamentalFacets()
getFundamentalFacets in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_FundamentalFacets()public XSDSimpleTypeDefinition getBaseTypeDefinition()
getBaseTypeDefinition in interface XSDSimpleTypeDefinitionXSDSimpleTypeDefinition.setBaseTypeDefinition(XSDSimpleTypeDefinition),
XSDPackage.getXSDSimpleTypeDefinition_BaseTypeDefinition()public void setBaseTypeDefinition(XSDSimpleTypeDefinition newBaseTypeDefinition)
setBaseTypeDefinition in interface XSDSimpleTypeDefinitionnewBaseTypeDefinition - the new value of the 'Base Type Definition' reference.XSDSimpleTypeDefinition.getBaseTypeDefinition()public XSDSimpleTypeDefinition getPrimitiveTypeDefinition()
getPrimitiveTypeDefinition in interface XSDSimpleTypeDefinitionXSDSimpleTypeDefinition.setPrimitiveTypeDefinition(XSDSimpleTypeDefinition),
XSDPackage.getXSDSimpleTypeDefinition_PrimitiveTypeDefinition()public void setPrimitiveTypeDefinition(XSDSimpleTypeDefinition newPrimitiveTypeDefinition)
setPrimitiveTypeDefinition in interface XSDSimpleTypeDefinitionnewPrimitiveTypeDefinition - the new value of the 'Primitive Type Definition' reference.XSDSimpleTypeDefinition.getPrimitiveTypeDefinition()public XSDSimpleTypeDefinition getItemTypeDefinition()
getItemTypeDefinition in interface XSDSimpleTypeDefinitionXSDSimpleTypeDefinition.setItemTypeDefinition(XSDSimpleTypeDefinition),
XSDPackage.getXSDSimpleTypeDefinition_ItemTypeDefinition()public void setItemTypeDefinition(XSDSimpleTypeDefinition newItemTypeDefinition)
setItemTypeDefinition in interface XSDSimpleTypeDefinitionnewItemTypeDefinition - the new value of the 'Item Type Definition' reference.XSDSimpleTypeDefinition.getItemTypeDefinition()public Element createElement()
createElement in class XSDConcreteComponentImplprotected Element createChildElement()
protected int getRequiredChildElementNodeType()
protected void patch()
patch in class XSDTypeDefinitionImplprotected void handleAnalysis()
handleAnalysis in class XSDTypeDefinitionImplpublic void validate()
XSDConcreteComponentDiagnostics are produced to report any problems.
validate in interface XSDConcreteComponentvalidate in class XSDConcreteComponentImplprotected void reconcileAttributes(Element changedElement)
reconcileAttributes in class XSDNamedComponentImplprotected void handleNewComplexBaseTypeDefinition(XSDTypeDefinition newComplexBaseTypeDefinition)
protected XSDSimpleTypeDefinition handleNewBaseTypeDefinition(XSDSimpleTypeDefinition newBaseTypeDefinition)
protected Node getAdoptionParentNode(EReference eReference)
getAdoptionParentNode in class XSDConcreteComponentImplprotected Collection getContentNodes(Element changedElement)
getContentNodes in class XSDConcreteComponentImpl
protected void handleUnreconciledElement(Element child,
List newContents,
List remainingContents)
handleUnreconciledElement in class XSDConcreteComponentImpl
protected void handleReconciliation(List newContents,
List remainingContents)
handleReconciliation in class XSDConcreteComponentImplprotected void changeAttribute(EAttribute eAttribute)
changeAttribute in class XSDNamedComponentImplprotected void changeReference(EReference eReference)
changeReference in class XSDConcreteComponentImpl
protected void adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
adoptContent in class XSDConcreteComponentImpl
protected void orphanContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
orphanContent in class XSDConcreteComponentImplpublic XSDTotalDigitsFacet getTotalDigitsFacet()
XSDSimpleTypeDefinition
This represents the XSDTotalDigitsFacet of the facet contents.
getTotalDigitsFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_TotalDigitsFacet()public XSDTotalDigitsFacet getEffectiveTotalDigitsFacet()
XSDSimpleTypeDefinition
This represents the XSDTotalDigitsFacet of the facets.
getEffectiveTotalDigitsFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_EffectiveTotalDigitsFacet()public XSDFractionDigitsFacet getFractionDigitsFacet()
XSDSimpleTypeDefinition
This represents the XSDFractionDigitsFacet of the facet contents.
getFractionDigitsFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_FractionDigitsFacet()public XSDFractionDigitsFacet getEffectiveFractionDigitsFacet()
XSDSimpleTypeDefinition
This represents the XSDFractionDigitsFacet of the facets.
getEffectiveFractionDigitsFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_EffectiveFractionDigitsFacet()public XSDLengthFacet getLengthFacet()
XSDSimpleTypeDefinition
This represents the XSDLengthFacet of the facet contents.
getLengthFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_LengthFacet()public XSDLengthFacet getEffectiveLengthFacet()
XSDSimpleTypeDefinition
This represents the XSDLengthFacet of the facets.
getEffectiveLengthFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_EffectiveLengthFacet()public XSDMaxLengthFacet getMaxLengthFacet()
XSDSimpleTypeDefinition
This represents the XSDMaxLengthFacet of the facet contents.
getMaxLengthFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_MaxLengthFacet()public XSDMaxLengthFacet getEffectiveMaxLengthFacet()
XSDSimpleTypeDefinition
This represents the XSDMaxLengthFacet of the facets.
getEffectiveMaxLengthFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_EffectiveMaxLengthFacet()public XSDMinLengthFacet getMinLengthFacet()
XSDSimpleTypeDefinition
This represents the XSDMinLengthFacet of the facet contents.
getMinLengthFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_MinLengthFacet()public XSDMinLengthFacet getEffectiveMinLengthFacet()
XSDSimpleTypeDefinition
This represents the XSDMinLengthFacet of the facets.
getEffectiveMinLengthFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_EffectiveMinLengthFacet()public XSDMaxExclusiveFacet getMaxExclusiveFacet()
XSDSimpleTypeDefinition
This represents the XSDMaxExclusiveFacet of the facet contents.
getMaxExclusiveFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_MaxExclusiveFacet()public XSDMaxInclusiveFacet getMaxInclusiveFacet()
XSDSimpleTypeDefinition
This represents the XSDMaxInclusiveFacet of the facet contents.
getMaxInclusiveFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_MaxInclusiveFacet()public XSDMaxFacet getMaxFacet()
XSDSimpleTypeDefinition
This represents the XSDMaxFacet of the facet contents.
getMaxFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_MaxFacet()public XSDMaxFacet getEffectiveMaxFacet()
XSDSimpleTypeDefinition
This represents the XSDMaxFacet of the facets.
getEffectiveMaxFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_EffectiveMaxFacet()public XSDMinExclusiveFacet getMinExclusiveFacet()
XSDSimpleTypeDefinition
This represents the XSDMinExclusiveFacet of the facet contents.
getMinExclusiveFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_MinExclusiveFacet()public XSDMinInclusiveFacet getMinInclusiveFacet()
XSDSimpleTypeDefinition
This represents the XSDMinInclusiveFacet of the facet contents.
getMinInclusiveFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_MinInclusiveFacet()public XSDMinFacet getMinFacet()
XSDSimpleTypeDefinition
This represents the XSDMinFacet of the facet contents.
getMinFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_MinFacet()public XSDMinFacet getEffectiveMinFacet()
XSDSimpleTypeDefinition
This represents the XSDMinLengthFacet of the facets.
getEffectiveMinFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_EffectiveMinFacet()public EList getSyntheticFacets()
getSyntheticFacets in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_SyntheticFacets()
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
eInverseRemove in interface InternalEObjecteInverseRemove in class XSDTypeDefinitionImpl
public Object eGet(EStructuralFeature eFeature,
boolean resolve)
eGet in interface EObjecteGet in class XSDTypeDefinitionImpl
public void eSet(EStructuralFeature eFeature,
Object newValue)
eSet in interface EObjecteSet in class XSDTypeDefinitionImplpublic void eUnset(EStructuralFeature eFeature)
eUnset in interface EObjecteUnset in class XSDTypeDefinitionImplpublic boolean eIsSet(EStructuralFeature eFeature)
eIsSet in interface EObjecteIsSet in class XSDTypeDefinitionImplpublic String toString()
toString in class XSDNamedComponentImplpublic XSDWhiteSpaceFacet getWhiteSpaceFacet()
XSDSimpleTypeDefinition
This represents the XSDWhiteSpaceFacet of the facet contents.
getWhiteSpaceFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_WhiteSpaceFacet()public XSDWhiteSpaceFacet getEffectiveWhiteSpaceFacet()
XSDSimpleTypeDefinition
This represents the XSDWhiteSpaceFacet of the facets.
getEffectiveWhiteSpaceFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_EffectiveWhiteSpaceFacet()public EList getEnumerationFacets()
XSDSimpleTypeDefinitionXSDEnumerationFacet.
This represents the XSDEnumerationFacet of the facet contents.
getEnumerationFacets in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_EnumerationFacets()public XSDEnumerationFacet getEffectiveEnumerationFacet()
XSDSimpleTypeDefinition
This represents the XSDEnumerationFacet of the facets.
To iterate through each enumerator which is a legal value of this type,
use the list returned by getEffectiveEnumerationFacet().getValue().
getEffectiveEnumerationFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_EffectiveEnumerationFacet()public EList getPatternFacets()
XSDSimpleTypeDefinitionXSDPatternFacet.
This represents the XSDPatternFacet of the facet contents.
getPatternFacets in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_PatternFacets()public XSDPatternFacet getEffectivePatternFacet()
XSDSimpleTypeDefinition
This represents the XSDPatternFacet of the facets.
To iterate through each pattern that applies for this type,
use the list returned by getEffectivePatternFacet().getValue().
getEffectivePatternFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_EffectivePatternFacet()public XSDBoundedFacet getBoundedFacet()
XSDSimpleTypeDefinition
This represents the XSDBoundedFacet of the fundamental facets.
getBoundedFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_BoundedFacet()public XSDCardinalityFacet getCardinalityFacet()
XSDSimpleTypeDefinition
This represents the XSDCardinalityFacet of the fundamental facets.
getCardinalityFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_CardinalityFacet()public XSDNumericFacet getNumericFacet()
XSDSimpleTypeDefinition
This represents the XSDNumericFacet of the fundamental facets.
getNumericFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_NumericFacet()public XSDOrderedFacet getOrderedFacet()
XSDSimpleTypeDefinition
This represents the XSDOrderedFacet of the fundamental facets.
getOrderedFacet in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_OrderedFacet()protected void createFundamentalFacets()
public EList getValidFacetsForList()
public EList getValidFacetsForUnion()
public XSDTypeDefinition getBaseType()
XSDTypeDefinition
This represents the same result as either
the simple 'Base Type Definition' reference or
the complex 'Base Type Definition' reference.
getBaseType in interface XSDTypeDefinitiongetBaseType in class XSDTypeDefinitionImplpublic XSDTypeDefinition getRootType()
XSDTypeDefinition
This walks the base types
until it hits that one that has the ur-type definition as it's base type.
getRootType in interface XSDTypeDefinitiongetRootType in class XSDTypeDefinitionImplpublic XSDSimpleTypeDefinition getRootTypeDefinition()
XSDSimpleTypeDefinition
This walks the base type definitions
until it hits that one that has the ur-type definition as it's base type definition.
getRootTypeDefinition in interface XSDSimpleTypeDefinitionXSDPackage.getXSDSimpleTypeDefinition_RootTypeDefinition()public XSDSimpleTypeDefinition getSimpleType()
XSDTypeDefinition
This represents either
the 'Simple Type Definition' itself or
the complex 'Content Type' reference,
if it is simple.
getSimpleType in interface XSDTypeDefinitiongetSimpleType in class XSDTypeDefinitionImplpublic XSDParticle getComplexType()
XSDTypeDefinition
This represents
the complex 'Content Type' reference,
if it is complex,
i.e., if it is a 'Particle'.
getComplexType in interface XSDTypeDefinitiongetComplexType in class XSDTypeDefinitionImplprotected List mergeFacets()
public String getStringLexicalFinal()
XSDSimpleTypeDefinitionLexical Final' attribute list.
getStringLexicalFinal in interface XSDSimpleTypeDefinitionXSDSimpleTypeDefinition.getLexicalFinal(),
XSDSimpleTypeDefinition.setStringLexicalFinal(java.lang.String)public void setStringLexicalFinal(String finalDefault)
XSDSimpleTypeDefinitionLexical Final' attribute.
setStringLexicalFinal in interface XSDSimpleTypeDefinitionfinalDefault - the new value of the 'Lexical Final' attribute.XSDSimpleTypeDefinition.getLexicalFinal(),
XSDSimpleTypeDefinition.getStringLexicalFinal()public String getStringFinal()
XSDSimpleTypeDefinitionFinal' attribute list.
getStringFinal in interface XSDSimpleTypeDefinitionXSDSimpleTypeDefinition.getFinal()public XSDSimpleTypeDefinition.Assessment assess(Node node)
XSDSimpleTypeDefinition
assess in interface XSDSimpleTypeDefinitionXSDSimpleTypeDefinition.assess(java.lang.String)public XSDSimpleTypeDefinition.Assessment assess(String literal)
XSDSimpleTypeDefinition
assess in interface XSDSimpleTypeDefinitionXSDSimpleTypeDefinition.assess(org.w3c.dom.Node)public XSDSimpleTypeDefinitionImpl.AssessmentImpl assess(XSDSimpleTypeDefinitionImpl.AssessmentImpl assessment)
public boolean isValidLiteral(String literal)
XSDSimpleTypeDefinitionassessing that the literal has no diagnostics.
isValidLiteral in interface XSDSimpleTypeDefinitionliteral - a literal.
public Object getValue(String literal)
XSDSimpleTypeDefinition
| Built-in Primitive Datatype | Corresponding Java Type |
|---|---|
| anyListType | java.util.List |
| anyURI | java.lang.String |
| base64Binary | org.eclipse.xsd.util.XSDUtil.ByteSequence | boolean | java.lang.Boolean | dateTime | int [] | date | int [] | decimal | java.math.BigDecimal | double | java.lang.Double | duration | int [] | float | java.lang.Float | gDay | int [] | gMonth | int [] | gMonthDay | int [] | gYear | int [] | gYearMonth | int [] | hexBinary | org.eclipse.xsd.util.XSDUtil.ByteSequence | NOTATION | java.lang.String | QName | java.lang.String | string | java.lang.String | time | int [] |
All time-based values are represented as in Xerces.
getValue in interface XSDSimpleTypeDefinitionliteral - a literal.
public String getCanonicalLiteral(String literal)
XSDSimpleTypeDefinition
getCanonicalLiteral in interface XSDSimpleTypeDefinitionliteral - a literal.
public String getNormalizedLiteral(String literal)
XSDSimpleTypeDefinition
getNormalizedLiteral in interface XSDSimpleTypeDefinitionliteral - a literal.
public boolean equalValues(Object value1,
Object value2)
XSDSimpleTypeDefinitionvalues are equal.
equalValues in interface XSDSimpleTypeDefinitionvalue1 - a literal.value2 - another literal.
values are equal.
public boolean equalLiterals(String literal1,
String literal2)
XSDSimpleTypeDefinitionvalue of each of the given literals are equal.
equalLiterals in interface XSDSimpleTypeDefinitionliteral1 - a literal.literal2 - another literal.
value of each of the given literals are equal.
public int compareValues(Object value1,
Object value2)
XSDSimpleTypeDefinition-1, 0, or 1,
depending on the order of the values.
compareValues in interface XSDSimpleTypeDefinitionvalue1 - a value.value2 - another value.
-1, 0, or 1, depending on the order of the values.
public int compareLiterals(String literal1,
String literal2)
XSDSimpleTypeDefinition-1, 0, or 1,
depending on the order of the value of each of the given literals.
compareLiterals in interface XSDSimpleTypeDefinitionliteral1 - a literal.literal2 - another literal.
-1, 0, or 1, depending on the order of the value of each of the given literals.
public XSDTypeDefinition getBadTypeDerivation(XSDTypeDefinition xsdTypeDefinition,
boolean extension,
boolean restriction)
XSDTypeDefinitionnull if the derivation is valid;
the result is the UR-type,
if this type is not related to the given type;
otherwise, the result is the base with the blocked derivation method.
getBadTypeDerivation in interface XSDTypeDefinitiongetBadTypeDerivation in class XSDTypeDefinitionImpl
public XSDConcreteComponent cloneConcreteComponent(boolean deep,
boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent in interface XSDConcreteComponentcloneConcreteComponent in class XSDConcreteComponentImpl
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||