|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEObjectImpl
org.eclipse.xsd.impl.XSDConcreteComponentImpl
org.eclipse.xsd.impl.XSDComponentImpl
org.eclipse.xsd.impl.XSDFacetImpl
org.eclipse.xsd.impl.XSDConstrainingFacetImpl
org.eclipse.xsd.impl.XSDFixedFacetImpl
An implementation of the model object 'Fixed Facet'.
The following features are implemented:
Nested Class Summary |
Nested classes inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
XSDConcreteComponentImpl.XSDContentsEList |
Field Summary | |
protected static boolean |
FIXED_EDEFAULT
The default value of the ' Fixed ' attribute |
protected static int |
FIXED_EFLAG
The flag representing the value of the ' Fixed ' attribute |
protected static int |
FIXED_ESETFLAG
The flag representing whether the Fixed attribute has been set |
Fields inherited from class org.eclipse.xsd.impl.XSDFacetImpl |
annotation, EFFECTIVE_VALUE_EDEFAULT, FACET_NAME_EDEFAULT, LEXICAL_VALUE_EDEFAULT, lexicalValue |
Fields inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ELEMENT_EDEFAULT, ERROR, FATAL, forceResolve, INFORMATION, isReconciling, UNANALYZED, updatingDOM, WARNING, xsdContents |
Constructor Summary | |
protected |
XSDFixedFacetImpl()
|
Method Summary | |
protected void |
changeAttribute(EAttribute eAttribute)
|
static XSDFixedFacet |
createFixedFacet(Node node)
|
Object |
eGet(EStructuralFeature eFeature,
boolean resolve)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
|
boolean |
eIsSet(EStructuralFeature eFeature)
|
void |
eSet(EStructuralFeature eFeature,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(EStructuralFeature eFeature)
|
boolean |
isFixed()
|
boolean |
isSetFixed()
|
protected void |
reconcileAttributes(Element changedElement)
|
protected boolean |
restrictionMatch(XSDFixedFacet xsdFixedFacet)
|
void |
setFixed(boolean newFixed)
|
String |
toString()
|
void |
unsetFixed()
|
void |
validate()
Validates whether this component conforms to the constraints defined in the XML Schema standard. |
protected void |
validateRestriction(XSDFixedFacet xsdFixedFacet)
|
protected void |
validateValue()
|
Methods inherited from class org.eclipse.xsd.impl.XSDConstrainingFacetImpl |
createConstrainingFacet, isConstraintSatisfied |
Methods inherited from class org.eclipse.xsd.impl.XSDFacetImpl |
basicSetAnnotation, getAnnotation, getEffectiveValue, getFacetName, getLexicalValue, getSimpleTypeDefinition, handleReconciliation, handleUnreconciledElement, setAnnotation, setLexicalValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.xsd.XSDConstrainingFacet |
isConstraintSatisfied |
Methods inherited from interface org.eclipse.xsd.XSDFacet |
getAnnotation, getEffectiveValue, getFacetName, getLexicalValue, getSimpleTypeDefinition, setAnnotation, setLexicalValue |
Field Detail |
protected static final boolean FIXED_EDEFAULT
Fixed
' attribute.
isFixed()
,
Constant Field Valuesprotected static final int FIXED_EFLAG
Fixed
' attribute.
isFixed()
,
Constant Field Valuesprotected static final int FIXED_ESETFLAG
Constructor Detail |
protected XSDFixedFacetImpl()
Method Detail |
public static XSDFixedFacet createFixedFacet(Node node)
protected EClass eStaticClass()
eStaticClass
in class XSDConstrainingFacetImpl
public boolean isFixed()
isFixed
in interface XSDFixedFacet
XSDFixedFacet.isSetFixed()
,
XSDFixedFacet.unsetFixed()
,
XSDFixedFacet.setFixed(boolean)
,
XSDPackage.getXSDFixedFacet_Fixed()
public void setFixed(boolean newFixed)
setFixed
in interface XSDFixedFacet
newFixed
- the new value of the 'Fixed' attribute.XSDFixedFacet.isSetFixed()
,
XSDFixedFacet.unsetFixed()
,
XSDFixedFacet.isFixed()
public void unsetFixed()
unsetFixed
in interface XSDFixedFacet
XSDFixedFacet.isSetFixed()
,
XSDFixedFacet.isFixed()
,
XSDFixedFacet.setFixed(boolean)
public boolean isSetFixed()
isSetFixed
in interface XSDFixedFacet
XSDFixedFacet.unsetFixed()
,
XSDFixedFacet.isFixed()
,
XSDFixedFacet.setFixed(boolean)
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
eInverseRemove
in class XSDConstrainingFacetImpl
public Object eGet(EStructuralFeature eFeature, boolean resolve)
eGet
in class XSDConstrainingFacetImpl
public void eSet(EStructuralFeature eFeature, Object newValue)
eSet
in class XSDConstrainingFacetImpl
public void eUnset(EStructuralFeature eFeature)
eUnset
in class XSDConstrainingFacetImpl
public boolean eIsSet(EStructuralFeature eFeature)
eIsSet
in class XSDConstrainingFacetImpl
public String toString()
toString
in class XSDFacetImpl
public void validate()
XSDConcreteComponent
Diagnostics
are produced to report any problems.
The effect of calling this for a component not directly or indirectly contained by a schema
is undefined, and is likely to result in null pointer exceptions.
validate
in interface XSDConcreteComponent
validate
in class XSDConstrainingFacetImpl
protected void validateValue()
validateValue
in class XSDFacetImpl
protected boolean restrictionMatch(XSDFixedFacet xsdFixedFacet)
protected void validateRestriction(XSDFixedFacet xsdFixedFacet)
protected void reconcileAttributes(Element changedElement)
reconcileAttributes
in class XSDFacetImpl
protected void changeAttribute(EAttribute eAttribute)
changeAttribute
in class XSDFacetImpl
|
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 |