|
|||||||||||
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
org.eclipse.xsd.impl.XSDLengthFacetImpl
An implementation of the model object 'Length Facet'.
The following features are implemented:
Nested Class Summary |
Nested classes inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
XSDConcreteComponentImpl.XSDContentsEList |
Field Summary | |
protected int |
value
The cached value of the ' Value ' attribute |
protected static int |
VALUE_EDEFAULT
The default value of the ' Value ' attribute |
Fields inherited from class org.eclipse.xsd.impl.XSDFixedFacetImpl |
FIXED_EDEFAULT, FIXED_EFLAG, FIXED_ESETFLAG |
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 |
XSDLengthFacetImpl()
|
Method Summary | |
protected void |
changeAttribute(EAttribute eAttribute)
|
XSDConcreteComponent |
cloneConcreteComponent(boolean deep,
boolean shareDOM)
Creates a clone of the component. |
Element |
createElement()
|
static XSDLengthFacet |
createLengthFacet(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)
|
Object |
getEffectiveValue()
Returns the value of the 'Effective Value' attribute |
int |
getValue()
|
boolean |
isConstraintSatisfied(Object value)
Returns whether the given value satisfies the constraint of this facet. |
void |
setValue(int newValue)
|
String |
toString()
|
void |
validate()
Validates whether this component conforms to the constraints defined in the XML Schema standard. |
protected void |
validateRestriction(XSDFixedFacet xsdFixedFacet)
|
Methods inherited from class org.eclipse.xsd.impl.XSDFixedFacetImpl |
createFixedFacet, isFixed, isSetFixed, reconcileAttributes, restrictionMatch, setFixed, unsetFixed, validateValue |
Methods inherited from class org.eclipse.xsd.impl.XSDConstrainingFacetImpl |
createConstrainingFacet |
Methods inherited from class org.eclipse.xsd.impl.XSDFacetImpl |
basicSetAnnotation, getAnnotation, 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.XSDFixedFacet |
isFixed, isSetFixed, setFixed, unsetFixed |
Methods inherited from interface org.eclipse.xsd.XSDFacet |
getAnnotation, getFacetName, getLexicalValue, getSimpleTypeDefinition, setAnnotation, setLexicalValue |
Field Detail |
protected static final int VALUE_EDEFAULT
Value
' attribute.
getValue()
,
Constant Field Valuesprotected int value
Value
' attribute.
getValue()
Constructor Detail |
protected XSDLengthFacetImpl()
Method Detail |
public static XSDLengthFacet createLengthFacet(Node node)
protected EClass eStaticClass()
eStaticClass
in class XSDFixedFacetImpl
public int getValue()
getValue
in interface XSDLengthFacet
XSDLengthFacet.setValue(int)
,
XSDPackage.getXSDLengthFacet_Value()
public void setValue(int newValue)
setValue
in interface XSDLengthFacet
newValue
- the new value of the 'Value' attribute.XSDLengthFacet.getValue()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
eInverseRemove
in class XSDFixedFacetImpl
public Object eGet(EStructuralFeature eFeature, boolean resolve)
eGet
in class XSDFixedFacetImpl
public void eSet(EStructuralFeature eFeature, Object newValue)
eSet
in class XSDFixedFacetImpl
public void eUnset(EStructuralFeature eFeature)
eUnset
in class XSDFixedFacetImpl
public boolean eIsSet(EStructuralFeature eFeature)
eIsSet
in class XSDFixedFacetImpl
public String toString()
toString
in class XSDFixedFacetImpl
public Element createElement()
createElement
in class XSDConcreteComponentImpl
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 XSDFixedFacetImpl
protected void validateRestriction(XSDFixedFacet xsdFixedFacet)
validateRestriction
in class XSDFixedFacetImpl
protected void changeAttribute(EAttribute eAttribute)
changeAttribute
in class XSDFixedFacetImpl
public boolean isConstraintSatisfied(Object value)
XSDConstrainingFacet
isConstraintSatisfied
in interface XSDConstrainingFacet
isConstraintSatisfied
in class XSDConstrainingFacetImpl
public Object getEffectiveValue()
XSDFacet
This represents a generic version of the value
infoset property of this facet.
getEffectiveValue
in interface XSDFacet
getEffectiveValue
in class XSDFacetImpl
public XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent
in interface XSDConcreteComponent
cloneConcreteComponent
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 |