|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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.XSDTermImpl org.eclipse.xsd.impl.XSDWildcardImpl
public class XSDWildcardImpl
An implementation of the model object 'Wildcard'.
The following features are implemented:
Namespace Constraint Category
Namespace Constraint
Process Contents
Lexical Namespace Constraint
Annotation
Annotations
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 |
---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
InternalEObject.EStore |
Field Summary | |
---|---|
protected XSDAnnotation |
annotation
The cached value of the ' Annotation ' containment reference |
protected EList<XSDAnnotation> |
annotations
The cached value of the ' Annotations ' reference list |
protected EList<java.lang.String> |
lexicalNamespaceConstraint
The cached value of the ' Lexical Namespace Constraint ' attribute list |
protected static XSDNamespaceConstraintCategory |
NAMESPACE_CONSTRAINT_CATEGORY_EDEFAULT
The default value of the ' Namespace Constraint Category ' attribute |
protected EList<java.lang.String> |
namespaceConstraint
The cached value of the ' Namespace Constraint ' attribute list |
protected XSDNamespaceConstraintCategory |
namespaceConstraintCategory
The cached value of the ' Namespace Constraint Category ' attribute |
protected static XSDProcessContents |
PROCESS_CONTENTS_EDEFAULT
The default value of the ' Process Contents ' attribute |
protected static int |
PROCESS_CONTENTS_ESETFLAG
The flag representing whether the Process Contents attribute has been set |
protected XSDProcessContents |
processContents
The cached value of the ' Process Contents ' attribute |
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 |
XSDWildcardImpl()
|
Method Summary | |
---|---|
protected void |
adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
boolean |
allows(java.lang.String namespace)
Returns whether the namespace is allowed by the wildcard. |
protected boolean |
analyze()
|
XSDWildcard |
attributeWildcardIntersection(XSDWildcard otherWildcard)
Returns a wildcard that is the attribute wildcard interection of this wildcard and the given wildcard. |
XSDWildcard |
attributeWildcardUnion(XSDWildcard otherWildcard)
Returns a wildcard that is the attribute wildcard union of this wildcard and the given wildcard. |
NotificationChain |
basicSetAnnotation(XSDAnnotation newAnnotation,
NotificationChain msgs)
|
protected void |
changeAttribute(EAttribute eAttribute)
|
XSDConcreteComponent |
cloneConcreteComponent(boolean deep,
boolean shareDOM)
Creates a clone of the component. |
org.w3c.dom.Element |
createElement()
|
static XSDWildcard |
createWildcard(org.w3c.dom.Node node)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
XSDAnnotation |
getAnnotation()
|
EList<XSDAnnotation> |
getAnnotations()
|
EList<java.lang.String> |
getLexicalNamespaceConstraint()
|
EList<java.lang.String> |
getNamespaceConstraint()
|
XSDNamespaceConstraintCategory |
getNamespaceConstraintCategory()
|
XSDProcessContents |
getProcessContents()
|
java.lang.String |
getStringLexicalNamespaceConstraint()
Returns the String value of the ' Lexical Namespace Constraint ' attribute list |
java.lang.String |
getStringNamespaceConstraint()
Returns the String value of the ' Namespace Constraint ' attribute list |
protected void |
handleReconciliation(java.util.List<XSDConcreteComponent> newContents,
java.util.List<XSDConcreteComponent> remainingContents)
|
protected void |
handleUnreconciledElement(org.w3c.dom.Element child,
java.util.List<XSDConcreteComponent> newContents,
java.util.List<XSDConcreteComponent> remainingContents)
|
boolean |
isSetLexicalNamespaceConstraint()
|
boolean |
isSetProcessContents()
|
protected boolean |
isUpdatingDOM()
|
boolean |
isWildcardSubset(XSDWildcard superSetWildcard)
Returns whether this wildcard is a subset of the given wildcard. |
protected void |
orphanContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
void |
patch()
|
protected void |
reconcileAttributes(org.w3c.dom.Element changedElement)
|
void |
setAnnotation(XSDAnnotation newAnnotation)
|
void |
setLike(XSDWildcard xsdWildcard)
|
void |
setNamespaceConstraintCategory(XSDNamespaceConstraintCategory newNamespaceConstraintCategory)
|
void |
setProcessContents(XSDProcessContents newProcessContents)
|
void |
setStringLexicalNamespaceConstraint(java.lang.String lexicalNamespaceConstraint)
Sets the String value of the ' Lexical Namespace Constraint ' attribute |
java.lang.String |
toString()
|
void |
unsetLexicalNamespaceConstraint()
|
void |
unsetProcessContents()
|
void |
validate()
Validates whether this component conforms to the constraints defined in the XML Schema standard. |
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.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Field Detail |
---|
protected static final XSDNamespaceConstraintCategory NAMESPACE_CONSTRAINT_CATEGORY_EDEFAULT
Namespace Constraint Category
' attribute.
getNamespaceConstraintCategory()
protected XSDNamespaceConstraintCategory namespaceConstraintCategory
Namespace Constraint Category
' attribute.
getNamespaceConstraintCategory()
protected EList<java.lang.String> namespaceConstraint
Namespace Constraint
' attribute list.
getNamespaceConstraint()
protected static final XSDProcessContents PROCESS_CONTENTS_EDEFAULT
Process Contents
' attribute.
getProcessContents()
protected XSDProcessContents processContents
Process Contents
' attribute.
getProcessContents()
protected static final int PROCESS_CONTENTS_ESETFLAG
protected EList<java.lang.String> lexicalNamespaceConstraint
Lexical Namespace Constraint
' attribute list.
getLexicalNamespaceConstraint()
protected XSDAnnotation annotation
Annotation
' containment reference.
getAnnotation()
protected EList<XSDAnnotation> annotations
Annotations
' reference list.
getAnnotations()
Constructor Detail |
---|
protected XSDWildcardImpl()
Method Detail |
---|
public static XSDWildcard createWildcard(org.w3c.dom.Node node)
protected EClass eStaticClass()
eStaticClass
in class XSDTermImpl
public XSDNamespaceConstraintCategory getNamespaceConstraintCategory()
getNamespaceConstraintCategory
in interface XSDWildcard
XSDNamespaceConstraintCategory
,
XSDWildcard.setNamespaceConstraintCategory(XSDNamespaceConstraintCategory)
,
XSDPackage.getXSDWildcard_NamespaceConstraintCategory()
public void setNamespaceConstraintCategory(XSDNamespaceConstraintCategory newNamespaceConstraintCategory)
setNamespaceConstraintCategory
in interface XSDWildcard
newNamespaceConstraintCategory
- the new value of the 'Namespace Constraint Category' attribute.XSDNamespaceConstraintCategory
,
XSDWildcard.getNamespaceConstraintCategory()
public EList<java.lang.String> getNamespaceConstraint()
getNamespaceConstraint
in interface XSDWildcard
XSDWildcard.getStringNamespaceConstraint()
,
XSDPackage.getXSDWildcard_NamespaceConstraint()
public XSDProcessContents getProcessContents()
getProcessContents
in interface XSDWildcard
XSDProcessContents
,
XSDWildcard.isSetProcessContents()
,
XSDWildcard.unsetProcessContents()
,
XSDWildcard.setProcessContents(XSDProcessContents)
,
XSDPackage.getXSDWildcard_ProcessContents()
public void setProcessContents(XSDProcessContents newProcessContents)
setProcessContents
in interface XSDWildcard
newProcessContents
- the new value of the 'Process Contents' attribute.XSDProcessContents
,
XSDWildcard.isSetProcessContents()
,
XSDWildcard.unsetProcessContents()
,
XSDWildcard.getProcessContents()
public void unsetProcessContents()
unsetProcessContents
in interface XSDWildcard
XSDWildcard.isSetProcessContents()
,
XSDWildcard.getProcessContents()
,
XSDWildcard.setProcessContents(XSDProcessContents)
public boolean isSetProcessContents()
isSetProcessContents
in interface XSDWildcard
XSDWildcard.unsetProcessContents()
,
XSDWildcard.getProcessContents()
,
XSDWildcard.setProcessContents(XSDProcessContents)
public EList<java.lang.String> getLexicalNamespaceConstraint()
getLexicalNamespaceConstraint
in interface XSDWildcard
XSDWildcard.isSetLexicalNamespaceConstraint()
,
XSDWildcard.unsetLexicalNamespaceConstraint()
,
XSDPackage.getXSDWildcard_LexicalNamespaceConstraint()
public void unsetLexicalNamespaceConstraint()
unsetLexicalNamespaceConstraint
in interface XSDWildcard
XSDWildcard.isSetLexicalNamespaceConstraint()
,
XSDWildcard.getLexicalNamespaceConstraint()
public boolean isSetLexicalNamespaceConstraint()
isSetLexicalNamespaceConstraint
in interface XSDWildcard
XSDWildcard.unsetLexicalNamespaceConstraint()
,
XSDWildcard.getLexicalNamespaceConstraint()
public XSDAnnotation getAnnotation()
getAnnotation
in interface XSDWildcard
XSDWildcard.setAnnotation(XSDAnnotation)
,
XSDPackage.getXSDWildcard_Annotation()
public void setAnnotation(XSDAnnotation newAnnotation)
setAnnotation
in interface XSDWildcard
newAnnotation
- the new value of the 'Annotation' containment reference.XSDWildcard.getAnnotation()
public NotificationChain basicSetAnnotation(XSDAnnotation newAnnotation, NotificationChain msgs)
public EList<XSDAnnotation> getAnnotations()
getAnnotations
in interface XSDWildcard
XSDPackage.getXSDWildcard_Annotations()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class XSDConcreteComponentImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class XSDConcreteComponentImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class XSDConcreteComponentImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class XSDConcreteComponentImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class XSDConcreteComponentImpl
public java.lang.String toString()
toString
in class XSDConcreteComponentImpl
public org.w3c.dom.Element createElement()
createElement
in class XSDConcreteComponentImpl
public void patch()
patch
in class XSDConcreteComponentImpl
protected boolean analyze()
analyze
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 XSDConcreteComponentImpl
XSDConcreteComponent.getDiagnostics()
,
XSDConcreteComponent.clearDiagnostics()
protected boolean isUpdatingDOM()
isUpdatingDOM
in class XSDConcreteComponentImpl
protected void reconcileAttributes(org.w3c.dom.Element changedElement)
reconcileAttributes
in class XSDConcreteComponentImpl
protected void handleUnreconciledElement(org.w3c.dom.Element child, java.util.List<XSDConcreteComponent> newContents, java.util.List<XSDConcreteComponent> remainingContents)
handleUnreconciledElement
in class XSDConcreteComponentImpl
protected void handleReconciliation(java.util.List<XSDConcreteComponent> newContents, java.util.List<XSDConcreteComponent> remainingContents)
handleReconciliation
in class XSDConcreteComponentImpl
protected void changeAttribute(EAttribute eAttribute)
changeAttribute
in class XSDConcreteComponentImpl
protected void adoptContent(EReference eReference, XSDConcreteComponent xsdConcreteComponent)
adoptContent
in class XSDConcreteComponentImpl
protected void orphanContent(EReference eReference, XSDConcreteComponent xsdConcreteComponent)
orphanContent
in class XSDConcreteComponentImpl
public java.lang.String getStringNamespaceConstraint()
XSDWildcard
Namespace Constraint
' attribute list.
getStringNamespaceConstraint
in interface XSDWildcard
XSDWildcard.getNamespaceConstraint()
public java.lang.String getStringLexicalNamespaceConstraint()
XSDWildcard
Lexical Namespace Constraint
' attribute list.
getStringLexicalNamespaceConstraint
in interface XSDWildcard
XSDWildcard.getLexicalNamespaceConstraint()
,
XSDWildcard.setStringLexicalNamespaceConstraint(java.lang.String)
public void setStringLexicalNamespaceConstraint(java.lang.String lexicalNamespaceConstraint)
XSDWildcard
Lexical Namespace Constraint
' attribute.
setStringLexicalNamespaceConstraint
in interface XSDWildcard
lexicalNamespaceConstraint
- the new value of the 'Lexical Namespace Constraint' attribute.XSDWildcard.getLexicalNamespaceConstraint()
,
XSDWildcard.getStringLexicalNamespaceConstraint()
public boolean isWildcardSubset(XSDWildcard superSetWildcard)
XSDWildcard
isWildcardSubset
in interface XSDWildcard
superSetWildcard
- the other wildcard.
XSDWildcard.attributeWildcardUnion(org.eclipse.xsd.XSDWildcard)
,
XSDWildcard.attributeWildcardIntersection(org.eclipse.xsd.XSDWildcard)
public XSDWildcard attributeWildcardUnion(XSDWildcard otherWildcard)
XSDWildcard
attributeWildcardUnion
in interface XSDWildcard
otherWildcard
- another wildcard.
XSDWildcard.isWildcardSubset(org.eclipse.xsd.XSDWildcard)
,
XSDWildcard.attributeWildcardIntersection(org.eclipse.xsd.XSDWildcard)
public XSDWildcard attributeWildcardIntersection(XSDWildcard otherWildcard)
XSDWildcard
attributeWildcardIntersection
in interface XSDWildcard
otherWildcard
- another wildcard.
XSDWildcard.isWildcardSubset(org.eclipse.xsd.XSDWildcard)
,
XSDWildcard.attributeWildcardUnion(org.eclipse.xsd.XSDWildcard)
public void setLike(XSDWildcard xsdWildcard)
public boolean allows(java.lang.String namespace)
XSDWildcard
allows
in interface XSDWildcard
public XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent
in interface XSDConcreteComponent
cloneConcreteComponent
in class XSDConcreteComponentImpl
deep
- 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 |