|
||||||||||||
| 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
An implementation of the model object 'Concrete Component'.
The following features are implemented:
| Nested Class Summary | |
|---|---|
static class |
XSDConcreteComponentImpl.XSDContentsEList
|
| Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
BasicNotifierImpl.EAdapterList |
| Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
protected int |
ANALYZED
|
protected int |
ANALYZING
|
protected int |
CIRCULAR
|
protected EList |
diagnostics
The cached value of the ' Diagnostics' containment reference list |
protected org.w3c.dom.Element |
element
The cached value of the ' Element' attribute |
protected static org.w3c.dom.Element |
ELEMENT_EDEFAULT
The default value of the ' Element' attribute |
protected static int |
ERROR
|
protected static int |
FATAL
|
protected boolean |
forceResolve
|
protected static int |
INFORMATION
|
protected boolean |
isReconciling
|
protected int |
UNANALYZED
|
protected boolean |
updatingDOM
|
protected static int |
WARNING
|
protected EList |
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 |
XSDConcreteComponentImpl()
|
| Method Summary | |
|---|---|
protected void |
adoptBy(XSDSchema xsdSchema)
|
protected void |
adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected void |
adoptDiagnostic(XSDDiagnostic xsdDiagnostic)
|
protected boolean |
analyze()
|
protected void |
changeAttribute(EAttribute eAttribute)
|
protected void |
changeReference(EReference eReference)
|
protected java.util.Collection |
checkAttributes(java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String[] allowedAttributeNames)
|
protected XSDDiagnostic |
checkAttributeTypeConstraint(java.lang.String builtInTypeName,
java.lang.String builtInAttributeName,
java.lang.String value,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName,
boolean isRequired)
|
protected XSDDiagnostic |
checkAttributeTypeConstraint(XSDComplexTypeDefinition xsdComplexTypeDefinition,
java.lang.String builtInAttributeName,
java.lang.String value,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName,
boolean isRequired)
|
protected XSDDiagnostic |
checkBuiltInTypeConstraint(java.lang.String builtInTypeName,
java.lang.String value,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName,
boolean isRequired)
|
protected XSDDiagnostic |
checkComplexContent(java.lang.String builtInTypeName,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element)
|
protected XSDDiagnostic |
checkComplexContent(XSDComplexTypeDefinition xsdComplexTypeDefinition,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element)
|
protected XSDDiagnostic |
checkElementComplexContent(java.lang.String elementName,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element)
|
protected XSDDiagnostic |
checkSimpleTypeConstraint(XSDSimpleTypeDefinition xsdTypeDefinition,
java.lang.String value,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName,
boolean isRequired)
|
void |
clearDiagnostics()
Clears any diagnostics associated with the component and all those it contains. |
XSDConcreteComponent |
cloneConcreteComponent(boolean deep,
boolean shareDOM)
Creates a clone of the component. |
protected static java.util.List |
cloneConcreteComponents(java.util.List xsdConcreteComponents,
boolean deep,
boolean shareDOM)
|
protected boolean |
considerAllContainsForBestConcreteComponent()
|
boolean |
contains(XSDConcreteComponent xsdConcreteComponent)
Returns whether the given component is contained by this component. |
protected XSDDiagnostic |
createDiagnostic(XSDDiagnosticSeverity severity,
java.lang.String key)
|
protected XSDDiagnostic |
createDiagnostic(XSDDiagnosticSeverity severity,
java.lang.String key,
java.lang.Object s1)
|
protected XSDDiagnostic |
createDiagnostic(XSDDiagnosticSeverity severity,
java.lang.String key,
java.lang.Object s1,
java.lang.Object s2)
|
protected XSDDiagnostic |
createDiagnostic(XSDDiagnosticSeverity severity,
java.lang.String key,
java.lang.Object s1,
java.lang.Object s2,
java.lang.Object s3)
|
org.w3c.dom.Element |
createElement()
|
protected org.w3c.dom.Element |
createElement(int nodeType)
|
protected XSDDiagnostic |
createRequiredAttributeDiagnostic(java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName)
|
protected XSDAttributeDeclaration |
createUnresolvedAttributeDeclaration(java.lang.String namespace,
java.lang.String localName)
|
protected XSDAttributeGroupDefinition |
createUnresolvedAttributeGroupDefinition(java.lang.String namespace,
java.lang.String localName)
|
protected XSDComplexTypeDefinition |
createUnresolvedComplexTypeDefinition(java.lang.String namespace,
java.lang.String localName)
|
protected XSDElementDeclaration |
createUnresolvedElementDeclaration(java.lang.String namespace,
java.lang.String localName)
|
protected XSDIdentityConstraintDefinition |
createUnresolvedIdentityConstraintDefinition(java.lang.String namespace,
java.lang.String localName)
|
protected XSDModelGroupDefinition |
createUnresolvedModelGroupDefinition(java.lang.String namespace,
java.lang.String localName)
|
protected XSDNotationDeclaration |
createUnresolvedNotationDeclaration(java.lang.String namespace,
java.lang.String localName)
|
protected XSDSimpleTypeDefinition |
createUnresolvedSimpleTypeDefinition(java.lang.String namespace,
java.lang.String localName)
|
protected XSDTypeDefinition |
createUnresolvedTypeDefinition(java.lang.String namespace,
java.lang.String localName)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
elementAttributesChanged(org.w3c.dom.Element changedElement)
Called to indicate that the given element has changed attributes; the element should typically be the same as the one returned XSDConcreteComponentImpl.getElement().
|
void |
elementChanged(org.w3c.dom.Element changedElement)
Called to indicate that the given element has changed; the element should typically be the same as the one returned XSDConcreteComponentImpl.getElement().
|
void |
elementContentsChanged(org.w3c.dom.Element changedElement)
Called to indicate that the given element has changed contents; the element should typically be the same as the one returned XSDConcreteComponentImpl.getElement().
|
boolean |
eNotificationRequired()
|
void |
eNotify(Notification msg)
|
EObject |
eObjectForURIFragmentSegment(java.lang.String uriFragmentSegment)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
java.lang.String |
eURIFragmentSegment(EStructuralFeature eStructuralFeature,
EObject eObject)
|
void |
forceEngulf(org.w3c.dom.Element newElement,
org.w3c.dom.Element engulfingElement,
org.w3c.dom.Element referenceElement,
org.w3c.dom.Node referenceChild)
|
void |
forceEngulf(org.w3c.dom.Node firstAdoptee,
org.w3c.dom.Element engulfingElement,
org.w3c.dom.Node referenceChild)
|
void |
forceNiceInsertBefore(org.w3c.dom.Node parent,
org.w3c.dom.Node newChild,
org.w3c.dom.Node referenceChild)
|
void |
forceNiceRemoveChild(org.w3c.dom.Node parent,
org.w3c.dom.Node child)
|
void |
forceReplace(org.w3c.dom.Element replacementElement,
org.w3c.dom.Element referenceElement)
|
protected org.w3c.dom.Node |
getAdoptionParentNode(EReference eReference)
|
XSDConcreteComponent |
getBestConcreteComponent(java.util.List elementPath)
|
java.util.Collection |
getComponentsWithApplicationInformation(java.lang.String sourceURI)
Returns the collection of components that have an annotation
containing an appinfo with given source URI. |
protected void |
getComponentsWithInformation(java.util.Collection result,
int nodeType,
java.lang.String sourceURI)
|
java.util.Collection |
getComponentsWithUserInformation(java.lang.String sourceURI)
Returns the collection of components that have an annotation
containing a documentation with given source URI. |
XSDConcreteComponent |
getContainer()
Returns the value of the 'Container' reference |
protected java.util.Collection |
getContentNodes(org.w3c.dom.Element changedElement)
|
EList |
getDiagnostics()
|
protected XSDConcreteComponentImpl |
getDiagnosticTarget(XSDConcreteComponent xsdConcreteComponent)
|
org.w3c.dom.Element |
getElement()
|
XSDConcreteComponent |
getRootContainer()
Returns the value of the 'Root Container' reference |
XSDSchema |
getSchema()
Returns the value of the 'Schema' reference |
protected java.lang.String |
getURIReferenceLabel()
|
EList |
getXSDContents()
|
protected XSDFactory |
getXSDFactory()
|
protected XSDPackage |
getXSDPackage()
|
protected void |
handleAnnotationReconciliation(EReference eReference,
java.util.List newContents,
java.util.List remainingContents)
|
protected void |
handleElementForAdopt(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected void |
handleReconciliation(java.util.List newContents,
java.util.List remainingContents)
|
protected void |
handleUnreconciledElement(org.w3c.dom.Element child,
java.util.List newContents,
java.util.List remainingContents)
|
protected boolean |
isUpdatingDOM()
|
void |
moveContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected java.lang.String |
niceCreateNamespaceAttribute(java.lang.String namespace)
|
void |
niceInsertBefore(org.w3c.dom.Node parent,
org.w3c.dom.Node newChild,
org.w3c.dom.Node referenceChild)
|
void |
niceRemoveChild(org.w3c.dom.Node parent,
org.w3c.dom.Node child)
|
protected void |
niceSetAttribute(org.w3c.dom.Element element,
java.lang.String attribute,
java.lang.String value)
|
protected void |
niceSetAttributeURIValue(org.w3c.dom.Element element,
java.lang.String attribute,
java.lang.String uriList)
|
protected void |
orphanBy(XSDSchema xsdSchema)
|
protected void |
orphanContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
|
protected void |
orphanDiagnostic(XSDDiagnostic xsdDiagnostic)
|
protected void |
patch()
|
protected static java.lang.String |
populateDiagnostic(XSDDiagnostic xsdDiagnostic,
java.lang.String key,
java.lang.Object[] substitutions)
|
protected void |
printDFA(XSDParticle.DFA dfa)
|
protected void |
reconcile(org.w3c.dom.Element changedElement)
|
protected void |
reconcileAttributes(org.w3c.dom.Element changedElement)
|
protected void |
reconcileContents(org.w3c.dom.Element changedElement)
|
protected XSDDiagnostic |
reportConstraintViolation(java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName,
java.lang.Object[] substitutions)
|
void |
reset()
|
XSDAttributeDeclaration |
resolveAttributeDeclaration(java.lang.String localName)
Returns the resolved attribute declaration of the given name
within the schema.
|
XSDAttributeDeclaration |
resolveAttributeDeclaration(java.lang.String namespace,
java.lang.String localName)
Returns the resolved attribute declaration of the given namespace and name.
|
XSDAttributeDeclaration |
resolveAttributeDeclarationURI(java.lang.String uri)
Returns the resolved attribute declaration of the given URI.
|
XSDAttributeGroupDefinition |
resolveAttributeGroupDefinition(java.lang.String localName)
Returns the resolved attribute group definition of the given name
within the schema.
|
XSDAttributeGroupDefinition |
resolveAttributeGroupDefinition(java.lang.String namespace,
java.lang.String localName)
Returns the resolved attribute group definition the given namespace and name.
|
XSDAttributeGroupDefinition |
resolveAttributeGroupDefinitionURI(java.lang.String uri)
Returns the resolved attribute group definition of the given URI.
|
XSDComplexTypeDefinition |
resolveComplexTypeDefinition(java.lang.String localName)
Returns the resolved complex type definition of the given name
within the schema.
|
XSDComplexTypeDefinition |
resolveComplexTypeDefinition(java.lang.String namespace,
java.lang.String localName)
Returns the resolved complex type definition of the given namespace and name.
|
XSDComplexTypeDefinition |
resolveComplexTypeDefinitionURI(java.lang.String uri)
Returns the resolved complex type definition of the given URI.
|
XSDElementDeclaration |
resolveElementDeclaration(java.lang.String localName)
Returns the resolved element declaration of the given name
within the schema.
|
XSDElementDeclaration |
resolveElementDeclaration(java.lang.String namespace,
java.lang.String localName)
Returns the resolved element declaration of the given namespace and name.
|
XSDElementDeclaration |
resolveElementDeclarationURI(java.lang.String uri)
Returns the resolved element declaration of the given URI.
|
XSDIdentityConstraintDefinition |
resolveIdentityConstraintDefinition(java.lang.String localName)
Returns the resolved identity constraint definition of the given name
within the schema.
|
XSDIdentityConstraintDefinition |
resolveIdentityConstraintDefinition(java.lang.String namespace,
java.lang.String localName)
Returns the resolved identity constraint definition of the given namespace and name.
|
XSDIdentityConstraintDefinition |
resolveIdentityConstraintDefinitionURI(java.lang.String uri)
Returns the resolved identity constraint definition of the given URI.
|
XSDModelGroupDefinition |
resolveModelGroupDefinition(java.lang.String localName)
Returns the resolved model group definition of the given name
within the schema.
|
XSDModelGroupDefinition |
resolveModelGroupDefinition(java.lang.String namespace,
java.lang.String localName)
Returns the resolved model group definition of the given namespace and name.
|
XSDModelGroupDefinition |
resolveModelGroupDefinitionURI(java.lang.String uri)
Returns the resolved model group definition of the given URI.
|
XSDNotationDeclaration |
resolveNotationDeclaration(java.lang.String localName)
Returns the resolved notation declaration the given name
within the schema.
|
XSDNotationDeclaration |
resolveNotationDeclaration(java.lang.String namespace,
java.lang.String localName)
Returns the resolved notation declaration of the given namespace and name.
|
XSDNotationDeclaration |
resolveNotationDeclarationURI(java.lang.String uri)
Returns the resolved notation declaration of the given URI.
|
XSDSimpleTypeDefinition |
resolveSimpleTypeDefinition(java.lang.String localName)
Returns the resolved simple type definition of the given name
within the schema.
|
XSDSimpleTypeDefinition |
resolveSimpleTypeDefinition(java.lang.String namespace,
java.lang.String localName)
Returns the resolved simple type definition of the given namespace and name.
|
XSDSimpleTypeDefinition |
resolveSimpleTypeDefinitionURI(java.lang.String uri)
Returns the resolved simple type definition of the given URI.
|
XSDTypeDefinition |
resolveTypeDefinition(java.lang.String localName)
Returns the resolved type definition of the given name
within the schema.
|
XSDTypeDefinition |
resolveTypeDefinition(java.lang.String namespace,
java.lang.String localName)
Returns the resolved type definition of the given namespace and name.
|
XSDTypeDefinition |
resolveTypeDefinitionURI(java.lang.String uri)
Returns the resolved type definition of the given URI.
|
void |
setElement(org.w3c.dom.Element element)
Sets the value of the ' Element' attribute |
void |
setElementGen(org.w3c.dom.Element newElement)
|
static void |
setListContentAndOrder(EList targetList,
java.util.List prototypeList)
|
java.lang.String |
toString()
|
protected void |
traverseToRootForAnalysis()
|
protected void |
traverseToRootForPatching()
|
void |
updateElement()
Ensures that the underlying DOM element both exists and is up-to-date with respect to the model,
i.e., it serializes the component and maintains an association with that serialization. |
void |
updateElement(boolean deep)
Ensures that the underlying DOM element both exists and is up-to-date with respect to the model,
i.e., it serializes the component and maintains an association with that serialization.
|
protected void |
updatePrefix(org.w3c.dom.Node node,
java.lang.String namespace,
java.lang.String oldPrefix,
java.lang.String newPrefix)
|
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, eSetDeliver |
| Field Detail |
protected static final org.w3c.dom.Element ELEMENT_EDEFAULT
Element' attribute.
XSDConcreteComponentImpl.getElement()protected org.w3c.dom.Element element
Element' attribute.
XSDConcreteComponentImpl.getElement()protected EList diagnostics
Diagnostics' containment reference list.
XSDConcreteComponentImpl.getDiagnostics()protected static final int FATAL
protected static final int ERROR
protected static final int WARNING
protected static final int INFORMATION
protected boolean updatingDOM
protected boolean isReconciling
protected boolean forceResolve
protected EList xsdContents
protected final int UNANALYZED
protected final int ANALYZING
protected final int ANALYZED
protected final int CIRCULAR
| Constructor Detail |
protected XSDConcreteComponentImpl()
| Method Detail |
protected EClass eStaticClass()
protected XSDFactory getXSDFactory()
protected XSDPackage getXSDPackage()
public EList getXSDContents()
public void reset()
protected final org.w3c.dom.Element createElement(int nodeType)
public org.w3c.dom.Element createElement()
public void updateElement(boolean deep)
XSDConcreteComponentelement both exists and is up-to-date with respect to the model,
i.e., it serializes the component and maintains an association with that serialization.
For deep == true,
or when getElement() == null,
this does the same thing as XSDConcreteComponent.updateElement();
otherwise, it updates just the DOM element associated with this component to reflect the current state.
updateElement in interface XSDConcreteComponentXSDConcreteComponent.updateElement(),
XSDConcreteComponent.getElement()public void updateElement()
XSDConcreteComponentelement both exists and is up-to-date with respect to the model,
i.e., it serializes the component and maintains an association with that serialization.
updateElement in interface XSDConcreteComponentXSDConcreteComponent.updateElement(boolean),
XSDConcreteComponent.getElement()
protected void updatePrefix(org.w3c.dom.Node node,
java.lang.String namespace,
java.lang.String oldPrefix,
java.lang.String newPrefix)
protected boolean isUpdatingDOM()
public void elementChanged(org.w3c.dom.Element changedElement)
XSDConcreteComponentXSDConcreteComponent.getElement().
It is expected that clients will not call this themselves
since the DOM event listeners attached to the underlying DOM will invoke these automatically.
elementChanged in interface XSDConcreteComponentpublic void elementAttributesChanged(org.w3c.dom.Element changedElement)
XSDConcreteComponentXSDConcreteComponent.getElement().
It is expected that clients will not call this themselves
since the DOM event listeners attached to the underlying DOM will invoke these automatically.
elementAttributesChanged in interface XSDConcreteComponentpublic void elementContentsChanged(org.w3c.dom.Element changedElement)
XSDConcreteComponentXSDConcreteComponent.getElement().
It is expected that clients will not call this themselves
since the DOM event listeners attached to the underlying DOM will invoke these automatically.
elementContentsChanged in interface XSDConcreteComponentprotected void traverseToRootForPatching()
protected void traverseToRootForAnalysis()
protected void patch()
protected boolean analyze()
public void validate()
XSDConcreteComponentDiagnostics 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 XSDConcreteComponentXSDConcreteComponent.getDiagnostics(),
XSDConcreteComponent.clearDiagnostics()public void clearDiagnostics()
XSDConcreteComponentdiagnostics associated with the component and all those it contains.
clearDiagnostics in interface XSDConcreteComponentXSDConcreteComponent.validate(),
XSDConcreteComponent.getDiagnostics()
protected XSDDiagnostic reportConstraintViolation(java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName,
java.lang.Object[] substitutions)
protected XSDDiagnostic checkElementComplexContent(java.lang.String elementName,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element)
protected void printDFA(XSDParticle.DFA dfa)
protected XSDDiagnostic checkComplexContent(java.lang.String builtInTypeName,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element)
protected XSDDiagnostic checkComplexContent(XSDComplexTypeDefinition xsdComplexTypeDefinition,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element)
protected XSDDiagnostic checkAttributeTypeConstraint(java.lang.String builtInTypeName,
java.lang.String builtInAttributeName,
java.lang.String value,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName,
boolean isRequired)
protected XSDDiagnostic checkAttributeTypeConstraint(XSDComplexTypeDefinition xsdComplexTypeDefinition,
java.lang.String builtInAttributeName,
java.lang.String value,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName,
boolean isRequired)
protected XSDDiagnostic checkBuiltInTypeConstraint(java.lang.String builtInTypeName,
java.lang.String value,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName,
boolean isRequired)
protected XSDDiagnostic checkSimpleTypeConstraint(XSDSimpleTypeDefinition xsdTypeDefinition,
java.lang.String value,
java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName,
boolean isRequired)
protected java.util.Collection checkAttributes(java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String[] allowedAttributeNames)
protected XSDDiagnostic createRequiredAttributeDiagnostic(java.lang.String part,
java.lang.String anchor,
org.w3c.dom.Element element,
java.lang.String attributeName)
protected XSDConcreteComponentImpl getDiagnosticTarget(XSDConcreteComponent xsdConcreteComponent)
protected XSDDiagnostic createDiagnostic(XSDDiagnosticSeverity severity,
java.lang.String key)
protected XSDDiagnostic createDiagnostic(XSDDiagnosticSeverity severity,
java.lang.String key,
java.lang.Object s1)
protected XSDDiagnostic createDiagnostic(XSDDiagnosticSeverity severity,
java.lang.String key,
java.lang.Object s1,
java.lang.Object s2)
protected XSDDiagnostic createDiagnostic(XSDDiagnosticSeverity severity,
java.lang.String key,
java.lang.Object s1,
java.lang.Object s2,
java.lang.Object s3)
protected static java.lang.String populateDiagnostic(XSDDiagnostic xsdDiagnostic,
java.lang.String key,
java.lang.Object[] substitutions)
protected void reconcile(org.w3c.dom.Element changedElement)
protected void reconcileAttributes(org.w3c.dom.Element changedElement)
protected java.util.Collection getContentNodes(org.w3c.dom.Element changedElement)
protected void reconcileContents(org.w3c.dom.Element changedElement)
protected void handleUnreconciledElement(org.w3c.dom.Element child,
java.util.List newContents,
java.util.List remainingContents)
protected void handleReconciliation(java.util.List newContents,
java.util.List remainingContents)
protected void handleAnnotationReconciliation(EReference eReference,
java.util.List newContents,
java.util.List remainingContents)
public void eNotify(Notification msg)
eNotify in interface Notifierprotected void changeAttribute(EAttribute eAttribute)
protected void changeReference(EReference eReference)
protected org.w3c.dom.Node getAdoptionParentNode(EReference eReference)
protected void handleElementForAdopt(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
protected void adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
protected void adoptBy(XSDSchema xsdSchema)
protected void adoptDiagnostic(XSDDiagnostic xsdDiagnostic)
protected void orphanContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
protected void orphanBy(XSDSchema xsdSchema)
protected void orphanDiagnostic(XSDDiagnostic xsdDiagnostic)
public void moveContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
public void niceInsertBefore(org.w3c.dom.Node parent,
org.w3c.dom.Node newChild,
org.w3c.dom.Node referenceChild)
public void forceNiceInsertBefore(org.w3c.dom.Node parent,
org.w3c.dom.Node newChild,
org.w3c.dom.Node referenceChild)
public void niceRemoveChild(org.w3c.dom.Node parent,
org.w3c.dom.Node child)
public void forceNiceRemoveChild(org.w3c.dom.Node parent,
org.w3c.dom.Node child)
public void forceReplace(org.w3c.dom.Element replacementElement,
org.w3c.dom.Element referenceElement)
public void forceEngulf(org.w3c.dom.Element newElement,
org.w3c.dom.Element engulfingElement,
org.w3c.dom.Element referenceElement,
org.w3c.dom.Node referenceChild)
public void forceEngulf(org.w3c.dom.Node firstAdoptee,
org.w3c.dom.Element engulfingElement,
org.w3c.dom.Node referenceChild)
protected void niceSetAttribute(org.w3c.dom.Element element,
java.lang.String attribute,
java.lang.String value)
protected java.lang.String niceCreateNamespaceAttribute(java.lang.String namespace)
protected void niceSetAttributeURIValue(org.w3c.dom.Element element,
java.lang.String attribute,
java.lang.String uriList)
public XSDConcreteComponent getContainer()
XSDConcreteComponentThis represents the concrete container of this component, i.e., the inverse of the black diamond relations in the UML model.
getContainer in interface XSDConcreteComponentXSDPackage.getXSDConcreteComponent_Container()public XSDConcreteComponent getRootContainer()
XSDConcreteComponent
This walks the containers
until it hits one that has no container.
getRootContainer in interface XSDConcreteComponentXSDPackage.getXSDConcreteComponent_RootContainer()public boolean contains(XSDConcreteComponent xsdConcreteComponent)
XSDConcreteComponent
contains in interface XSDConcreteComponentxsdConcreteComponent - a component.
public XSDSchema getSchema()
XSDConcreteComponent
This walks the containers
until it reaches a schema.
getSchema in interface XSDConcreteComponentXSDPackage.getXSDConcreteComponent_Schema()public EList getDiagnostics()
getDiagnostics in interface XSDConcreteComponentXSDPackage.getXSDConcreteComponent_Diagnostics()
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObject
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjectpublic void eUnset(int featureID)
eUnset in interface InternalEObjectpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjectpublic java.lang.String toString()
public XSDConcreteComponent getBestConcreteComponent(java.util.List elementPath)
protected boolean considerAllContainsForBestConcreteComponent()
public static void setListContentAndOrder(EList targetList,
java.util.List prototypeList)
protected java.lang.String getURIReferenceLabel()
public java.lang.String eURIFragmentSegment(EStructuralFeature eStructuralFeature,
EObject eObject)
eURIFragmentSegment in interface InternalEObjectpublic EObject eObjectForURIFragmentSegment(java.lang.String uriFragmentSegment)
eObjectForURIFragmentSegment in interface InternalEObjectpublic XSDTypeDefinition resolveTypeDefinitionURI(java.lang.String uri)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveTypeDefinitionURI in interface XSDConcreteComponenturi - the URI to resolve.
XSDConcreteComponent.resolveTypeDefinition(java.lang.String, java.lang.String),
XSDConcreteComponent.resolveTypeDefinition(java.lang.String),
XSDNamedComponent.getURI()public XSDTypeDefinition resolveTypeDefinition(java.lang.String localName)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveTypeDefinition in interface XSDConcreteComponentlocalName - the name to resolve.
XSDConcreteComponent.getSchema(),
XSDSchema.getTargetNamespace(),
XSDConcreteComponent.resolveTypeDefinitionURI(java.lang.String),
XSDConcreteComponent.resolveTypeDefinition(java.lang.String, java.lang.String),
XSDNamedComponent.getName()
public XSDTypeDefinition resolveTypeDefinition(java.lang.String namespace,
java.lang.String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveTypeDefinition in interface XSDConcreteComponentnamespace - the namespace to resolve.localName - the name to resolve.
XSDConcreteComponent.resolveTypeDefinitionURI(java.lang.String),
XSDConcreteComponent.resolveTypeDefinition(java.lang.String),
XSDNamedComponent.getTargetNamespace(),
XSDNamedComponent.getName()
protected XSDTypeDefinition createUnresolvedTypeDefinition(java.lang.String namespace,
java.lang.String localName)
public XSDSimpleTypeDefinition resolveSimpleTypeDefinitionURI(java.lang.String uri)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveSimpleTypeDefinitionURI in interface XSDConcreteComponenturi - the URI to resolve.
XSDConcreteComponent.resolveSimpleTypeDefinition(java.lang.String, java.lang.String),
XSDConcreteComponent.resolveSimpleTypeDefinition(java.lang.String),
XSDNamedComponent.getURI()public XSDSimpleTypeDefinition resolveSimpleTypeDefinition(java.lang.String localName)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveSimpleTypeDefinition in interface XSDConcreteComponentlocalName - the name to resolve.
XSDConcreteComponent.getSchema(),
XSDSchema.getTargetNamespace(),
XSDConcreteComponent.resolveSimpleTypeDefinitionURI(java.lang.String),
XSDConcreteComponent.resolveSimpleTypeDefinition(java.lang.String, java.lang.String),
XSDNamedComponent.getName()
public XSDSimpleTypeDefinition resolveSimpleTypeDefinition(java.lang.String namespace,
java.lang.String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveSimpleTypeDefinition in interface XSDConcreteComponentnamespace - the namespace to resolve.localName - the name to resolve.
XSDConcreteComponent.resolveSimpleTypeDefinitionURI(java.lang.String),
XSDConcreteComponent.resolveSimpleTypeDefinition(java.lang.String),
XSDNamedComponent.getTargetNamespace(),
XSDNamedComponent.getName()
protected XSDSimpleTypeDefinition createUnresolvedSimpleTypeDefinition(java.lang.String namespace,
java.lang.String localName)
public XSDComplexTypeDefinition resolveComplexTypeDefinitionURI(java.lang.String uri)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveComplexTypeDefinitionURI in interface XSDConcreteComponenturi - the URI to resolve.
XSDConcreteComponent.resolveComplexTypeDefinition(java.lang.String, java.lang.String),
XSDConcreteComponent.resolveComplexTypeDefinition(java.lang.String),
XSDNamedComponent.getURI()public XSDComplexTypeDefinition resolveComplexTypeDefinition(java.lang.String localName)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveComplexTypeDefinition in interface XSDConcreteComponentlocalName - the name to resolve.
XSDConcreteComponent.getSchema(),
XSDSchema.getTargetNamespace(),
XSDConcreteComponent.resolveComplexTypeDefinitionURI(java.lang.String),
XSDConcreteComponent.resolveComplexTypeDefinition(java.lang.String, java.lang.String),
XSDNamedComponent.getName()
public XSDComplexTypeDefinition resolveComplexTypeDefinition(java.lang.String namespace,
java.lang.String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveComplexTypeDefinition in interface XSDConcreteComponentnamespace - the namespace to resolve.localName - the name to resolve.
XSDConcreteComponent.resolveComplexTypeDefinitionURI(java.lang.String),
XSDConcreteComponent.resolveComplexTypeDefinition(java.lang.String),
XSDNamedComponent.getTargetNamespace(),
XSDNamedComponent.getName()
protected XSDComplexTypeDefinition createUnresolvedComplexTypeDefinition(java.lang.String namespace,
java.lang.String localName)
public XSDAttributeDeclaration resolveAttributeDeclarationURI(java.lang.String uri)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveAttributeDeclarationURI in interface XSDConcreteComponenturi - the URI to resolve.
XSDConcreteComponent.resolveAttributeDeclaration(java.lang.String, java.lang.String),
XSDConcreteComponent.resolveAttributeDeclaration(java.lang.String),
XSDNamedComponent.getURI()public XSDAttributeDeclaration resolveAttributeDeclaration(java.lang.String localName)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveAttributeDeclaration in interface XSDConcreteComponentlocalName - the name to resolve.
XSDConcreteComponent.getSchema(),
XSDSchema.getTargetNamespace(),
XSDConcreteComponent.resolveAttributeDeclarationURI(java.lang.String),
XSDConcreteComponent.resolveAttributeDeclaration(java.lang.String, java.lang.String),
XSDNamedComponent.getName()
public XSDAttributeDeclaration resolveAttributeDeclaration(java.lang.String namespace,
java.lang.String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveAttributeDeclaration in interface XSDConcreteComponentnamespace - the namespace to resolve.localName - the name to resolve.
XSDConcreteComponent.resolveAttributeDeclarationURI(java.lang.String),
XSDConcreteComponent.resolveAttributeDeclaration(java.lang.String),
XSDNamedComponent.getTargetNamespace(),
XSDNamedComponent.getName()
protected XSDAttributeDeclaration createUnresolvedAttributeDeclaration(java.lang.String namespace,
java.lang.String localName)
public XSDElementDeclaration resolveElementDeclarationURI(java.lang.String uri)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveElementDeclarationURI in interface XSDConcreteComponenturi - the URI to resolve.
XSDConcreteComponent.resolveElementDeclaration(java.lang.String, java.lang.String),
XSDConcreteComponent.resolveElementDeclaration(java.lang.String),
XSDNamedComponent.getURI()public XSDElementDeclaration resolveElementDeclaration(java.lang.String localName)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveElementDeclaration in interface XSDConcreteComponentlocalName - the name to resolve.
XSDConcreteComponent.getSchema(),
XSDSchema.getTargetNamespace(),
XSDConcreteComponent.resolveElementDeclarationURI(java.lang.String),
XSDConcreteComponent.resolveElementDeclaration(java.lang.String, java.lang.String),
XSDNamedComponent.getName()
public XSDElementDeclaration resolveElementDeclaration(java.lang.String namespace,
java.lang.String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveElementDeclaration in interface XSDConcreteComponentnamespace - the namespace to resolve.localName - the name to resolve.
XSDConcreteComponent.resolveElementDeclarationURI(java.lang.String),
XSDConcreteComponent.resolveElementDeclaration(java.lang.String),
XSDNamedComponent.getTargetNamespace(),
XSDNamedComponent.getName()
protected XSDElementDeclaration createUnresolvedElementDeclaration(java.lang.String namespace,
java.lang.String localName)
public XSDAttributeGroupDefinition resolveAttributeGroupDefinitionURI(java.lang.String uri)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveAttributeGroupDefinitionURI in interface XSDConcreteComponenturi - the URI to resolve.
XSDConcreteComponent.resolveAttributeGroupDefinition(java.lang.String, java.lang.String),
XSDConcreteComponent.resolveAttributeGroupDefinition(java.lang.String),
XSDNamedComponent.getURI()public XSDAttributeGroupDefinition resolveAttributeGroupDefinition(java.lang.String localName)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveAttributeGroupDefinition in interface XSDConcreteComponentlocalName - the name to resolve.
XSDConcreteComponent.getSchema(),
XSDSchema.getTargetNamespace(),
XSDConcreteComponent.resolveAttributeGroupDefinitionURI(java.lang.String),
XSDConcreteComponent.resolveAttributeGroupDefinition(java.lang.String, java.lang.String),
XSDNamedComponent.getName()
public XSDAttributeGroupDefinition resolveAttributeGroupDefinition(java.lang.String namespace,
java.lang.String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveAttributeGroupDefinition in interface XSDConcreteComponentnamespace - the namespace to resolve.localName - the name to resolve.
XSDConcreteComponent.resolveAttributeGroupDefinitionURI(java.lang.String),
XSDConcreteComponent.resolveAttributeGroupDefinition(java.lang.String),
XSDNamedComponent.getTargetNamespace(),
XSDNamedComponent.getName()
protected XSDAttributeGroupDefinition createUnresolvedAttributeGroupDefinition(java.lang.String namespace,
java.lang.String localName)
public XSDModelGroupDefinition resolveModelGroupDefinitionURI(java.lang.String uri)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveModelGroupDefinitionURI in interface XSDConcreteComponenturi - the URI to resolve.
XSDConcreteComponent.resolveModelGroupDefinition(java.lang.String, java.lang.String),
XSDConcreteComponent.resolveModelGroupDefinition(java.lang.String),
XSDNamedComponent.getURI()public XSDModelGroupDefinition resolveModelGroupDefinition(java.lang.String localName)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveModelGroupDefinition in interface XSDConcreteComponentlocalName - the name to resolve.
XSDConcreteComponent.getSchema(),
XSDSchema.getTargetNamespace(),
XSDConcreteComponent.resolveModelGroupDefinitionURI(java.lang.String),
XSDConcreteComponent.resolveModelGroupDefinition(java.lang.String, java.lang.String),
XSDNamedComponent.getName()
public XSDModelGroupDefinition resolveModelGroupDefinition(java.lang.String namespace,
java.lang.String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveModelGroupDefinition in interface XSDConcreteComponentnamespace - the namespace to resolve.localName - the name to resolve.
XSDConcreteComponent.resolveModelGroupDefinitionURI(java.lang.String),
XSDConcreteComponent.resolveModelGroupDefinition(java.lang.String),
XSDNamedComponent.getTargetNamespace(),
XSDNamedComponent.getName()
protected XSDModelGroupDefinition createUnresolvedModelGroupDefinition(java.lang.String namespace,
java.lang.String localName)
public XSDIdentityConstraintDefinition resolveIdentityConstraintDefinitionURI(java.lang.String uri)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveIdentityConstraintDefinitionURI in interface XSDConcreteComponenturi - the URI to resolve.
XSDConcreteComponent.resolveIdentityConstraintDefinition(java.lang.String, java.lang.String),
XSDConcreteComponent.resolveIdentityConstraintDefinition(java.lang.String),
XSDNamedComponent.getURI()public XSDIdentityConstraintDefinition resolveIdentityConstraintDefinition(java.lang.String localName)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveIdentityConstraintDefinition in interface XSDConcreteComponentlocalName - the name to resolve.
XSDConcreteComponent.getSchema(),
XSDSchema.getTargetNamespace(),
XSDConcreteComponent.resolveIdentityConstraintDefinitionURI(java.lang.String),
XSDConcreteComponent.resolveIdentityConstraintDefinition(java.lang.String, java.lang.String),
XSDNamedComponent.getName()
public XSDIdentityConstraintDefinition resolveIdentityConstraintDefinition(java.lang.String namespace,
java.lang.String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveIdentityConstraintDefinition in interface XSDConcreteComponentnamespace - the namespace to resolve.localName - the name to resolve.
XSDConcreteComponent.resolveIdentityConstraintDefinitionURI(java.lang.String),
XSDConcreteComponent.resolveIdentityConstraintDefinition(java.lang.String),
XSDNamedComponent.getTargetNamespace(),
XSDNamedComponent.getName()
protected XSDIdentityConstraintDefinition createUnresolvedIdentityConstraintDefinition(java.lang.String namespace,
java.lang.String localName)
public XSDNotationDeclaration resolveNotationDeclarationURI(java.lang.String uri)
XSDConcreteComponentURI.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveNotationDeclarationURI in interface XSDConcreteComponenturi - the URI to resolve.
XSDConcreteComponent.resolveNotationDeclaration(java.lang.String, java.lang.String),
XSDConcreteComponent.resolveNotationDeclaration(java.lang.String),
XSDNamedComponent.getURI()public XSDNotationDeclaration resolveNotationDeclaration(java.lang.String localName)
XSDConcreteComponentname
within the schema.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveNotationDeclaration in interface XSDConcreteComponentlocalName - the name to resolve.
XSDConcreteComponent.getSchema(),
XSDSchema.getTargetNamespace(),
XSDConcreteComponent.resolveNotationDeclarationURI(java.lang.String),
XSDConcreteComponent.resolveNotationDeclaration(java.lang.String, java.lang.String),
XSDNamedComponent.getName()
public XSDNotationDeclaration resolveNotationDeclaration(java.lang.String namespace,
java.lang.String localName)
XSDConcreteComponentnamespace and name.
An unresolved instance is synthesized to hold the namespace and name if an existing instance cannot be found.
resolveNotationDeclaration in interface XSDConcreteComponentnamespace - the namespace to resolve.localName - the name to resolve.
XSDConcreteComponent.resolveNotationDeclarationURI(java.lang.String),
XSDConcreteComponent.resolveNotationDeclaration(java.lang.String),
XSDNamedComponent.getTargetNamespace(),
XSDNamedComponent.getName()
protected XSDNotationDeclaration createUnresolvedNotationDeclaration(java.lang.String namespace,
java.lang.String localName)
public java.util.Collection getComponentsWithApplicationInformation(java.lang.String sourceURI)
XSDConcreteComponentannotation
containing an appinfo with given source URI.
getComponentsWithApplicationInformation in interface XSDConcreteComponentsourceURI - the source URI to match.
XSDAnnotation.getApplicationInformationSources()public java.util.Collection getComponentsWithUserInformation(java.lang.String sourceURI)
XSDConcreteComponentannotation
containing a documentation with given source URI.
getComponentsWithUserInformation in interface XSDConcreteComponentsourceURI - the source URI to match.
XSDAnnotation.getApplicationInformationSources()
protected void getComponentsWithInformation(java.util.Collection result,
int nodeType,
java.lang.String sourceURI)
public org.w3c.dom.Element getElement()
getElement in interface XSDConcreteComponentXSDConcreteComponent.setElement(Element),
XSDPackage.getXSDConcreteComponent_Element()public void setElementGen(org.w3c.dom.Element newElement)
public void setElement(org.w3c.dom.Element element)
XSDConcreteComponentElement' attribute.
setElement in interface XSDConcreteComponentelement - the new value of the 'Element' attribute.XSDConcreteComponent.getElement()
public XSDConcreteComponent cloneConcreteComponent(boolean deep,
boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent in interface XSDConcreteComponentdeep - whether the clone should be deep.shareDOM - whether the clone should share the original DOM
protected static java.util.List cloneConcreteComponents(java.util.List xsdConcreteComponents,
boolean deep,
boolean shareDOM)
public boolean eNotificationRequired()
eNotificationRequired in interface InternalEObject
|
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 | |||||||||||