|
||||||||||
| 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.XSDFacetImpl
org.eclipse.xsd.impl.XSDConstrainingFacetImpl
org.eclipse.xsd.impl.XSDRepeatableFacetImpl
org.eclipse.xsd.impl.XSDPatternFacetImpl
public class XSDPatternFacetImpl
An implementation of the model object 'Pattern Facet'.
The following features are implemented:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
|---|
XSDConcreteComponentImpl.XSDContentsEList |
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
org.eclipse.emf.ecore.InternalEObject.EStore |
| Field Summary | |
|---|---|
protected java.util.Collection<org.eclipse.emf.ecore.xml.type.internal.RegEx.RegularExpression> |
patterns
|
protected org.eclipse.emf.common.util.EList<java.lang.String> |
value
The cached value of the ' Value' attribute list |
| Fields inherited from class org.eclipse.xsd.impl.XSDRepeatableFacetImpl |
|---|
annotations |
| 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 |
| 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 class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
protected |
XSDPatternFacetImpl()
|
| Method Summary | |
|---|---|
protected boolean |
analyze()
|
protected void |
changeAttribute(org.eclipse.emf.ecore.EAttribute eAttribute)
|
XSDConcreteComponent |
cloneConcreteComponent(boolean deep,
boolean shareDOM)
Creates a clone of the component. |
org.w3c.dom.Element |
createElement()
|
protected XSDDiagnostic |
createPatternDiagnostic(java.lang.String parseError,
int location)
|
static XSDPatternFacet |
createPatternFacet(org.w3c.dom.Node node)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
java.lang.Object |
getEffectiveValue()
Returns the value of the 'Effective Value' attribute |
java.util.Collection<org.eclipse.emf.ecore.xml.type.internal.RegEx.RegularExpression> |
getPatterns(boolean withDiagnostics)
|
org.eclipse.emf.common.util.EList<java.lang.String> |
getValue()
|
boolean |
isConstraintSatisfied(java.lang.Object value)
Returns whether the given value satisfies the constraint of this facet. |
java.lang.String |
toString()
|
void |
validateValue()
|
| Methods inherited from class org.eclipse.xsd.impl.XSDRepeatableFacetImpl |
|---|
createRepeatableFacet, getAnnotations, validate |
| Methods inherited from class org.eclipse.xsd.impl.XSDConstrainingFacetImpl |
|---|
createConstrainingFacet |
| Methods inherited from class org.eclipse.xsd.impl.XSDFacetImpl |
|---|
basicSetAnnotation, eInverseRemove, getAnnotation, getFacetName, getLexicalValue, getSimpleTypeDefinition, handleReconciliation, handleUnreconciledElement, reconcileAttributes, setAnnotation, setLexicalValue |
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues |
| Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
eBasicAdapterArray, eBasicHasAdapters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.xsd.XSDRepeatableFacet |
|---|
getAnnotations |
| Methods inherited from interface org.eclipse.xsd.XSDFacet |
|---|
getAnnotation, getFacetName, getLexicalValue, getSimpleTypeDefinition, setAnnotation, setLexicalValue |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Field Detail |
|---|
protected org.eclipse.emf.common.util.EList<java.lang.String> value
Value' attribute list.
getValue()protected java.util.Collection<org.eclipse.emf.ecore.xml.type.internal.RegEx.RegularExpression> patterns
| Constructor Detail |
|---|
protected XSDPatternFacetImpl()
| Method Detail |
|---|
public static XSDPatternFacet createPatternFacet(org.w3c.dom.Node node)
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class XSDRepeatableFacetImplpublic org.eclipse.emf.common.util.EList<java.lang.String> getValue()
getValue in interface XSDPatternFacetXSDPackage.getXSDPatternFacet_Value()
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class XSDRepeatableFacetImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class XSDRepeatableFacetImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class XSDRepeatableFacetImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class XSDRepeatableFacetImplpublic java.lang.String toString()
toString in class XSDFacetImplpublic org.w3c.dom.Element createElement()
createElement in class XSDConcreteComponentImplpublic java.util.Collection<org.eclipse.emf.ecore.xml.type.internal.RegEx.RegularExpression> getPatterns(boolean withDiagnostics)
public void validateValue()
validateValue in class XSDRepeatableFacetImpl
protected XSDDiagnostic createPatternDiagnostic(java.lang.String parseError,
int location)
protected boolean analyze()
analyze in class XSDConcreteComponentImplprotected void changeAttribute(org.eclipse.emf.ecore.EAttribute eAttribute)
changeAttribute in class XSDFacetImplpublic boolean isConstraintSatisfied(java.lang.Object value)
XSDConstrainingFacet
isConstraintSatisfied in interface XSDConstrainingFacetisConstraintSatisfied in class XSDConstrainingFacetImplvalue - an arbitrary value.
public java.lang.Object getEffectiveValue()
XSDFacet
This represents a generic version of the value infoset property of this facet.
getEffectiveValue in interface XSDFacetgetEffectiveValue in class XSDFacetImplXSDPackage.getXSDFacet_EffectiveValue()
public XSDConcreteComponent cloneConcreteComponent(boolean deep,
boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent in interface XSDConcreteComponentcloneConcreteComponent in class XSDConcreteComponentImpldeep - whether the clone should be deep.shareDOM - whether the clone should share the original DOM
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||