org.eclipse.xsd.impl
Class XSDWhiteSpaceFacetImpl

java.lang.Object
  extended byEObjectImpl
      extended byorg.eclipse.xsd.impl.XSDConcreteComponentImpl
          extended byorg.eclipse.xsd.impl.XSDComponentImpl
              extended byorg.eclipse.xsd.impl.XSDFacetImpl
                  extended byorg.eclipse.xsd.impl.XSDConstrainingFacetImpl
                      extended byorg.eclipse.xsd.impl.XSDFixedFacetImpl
                          extended byorg.eclipse.xsd.impl.XSDWhiteSpaceFacetImpl
All Implemented Interfaces:
XSDComponent, XSDConcreteComponent, XSDConstrainingFacet, XSDFacet, XSDFixedFacet, XSDWhiteSpaceFacet

public class XSDWhiteSpaceFacetImpl
extends XSDFixedFacetImpl
implements XSDWhiteSpaceFacet

An implementation of the model object 'White Space Facet'.

The following features are implemented:

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl
XSDConcreteComponentImpl.XSDContentsEList
 
Field Summary
protected  XSDWhiteSpace value
          The cached value of the 'Value' attribute
protected static XSDWhiteSpace 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 XSDWhiteSpaceFacetImpl()
           
 
Method Summary
protected  void changeAttribute(EAttribute eAttribute)
           
 XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
          Creates a clone of the component.
 Element createElement()
           
static XSDWhiteSpaceFacet createWhiteSpaceFacet(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
 String getNormalizedLiteral(String literal)
          This does any
 XSDWhiteSpace getValue()
           
 void setValue(XSDWhiteSpace newValue)
           
 String toString()
           
protected  void validateRestriction(XSDFixedFacet xsdFixedFacet)
           
protected  void validateValue()
           
 
Methods inherited from class org.eclipse.xsd.impl.XSDFixedFacetImpl
createFixedFacet, isFixed, isSetFixed, reconcileAttributes, restrictionMatch, setFixed, unsetFixed, validate
 
Methods inherited from class org.eclipse.xsd.impl.XSDConstrainingFacetImpl
createConstrainingFacet, isConstraintSatisfied
 
Methods inherited from class org.eclipse.xsd.impl.XSDFacetImpl
basicSetAnnotation, getAnnotation, getFacetName, getLexicalValue, getSimpleTypeDefinition, handleReconciliation, handleUnreconciledElement, setAnnotation, setLexicalValue
 
Methods inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl
adoptBy, adoptContent, adoptDiagnostic, analyze, changeReference, checkAttributes, checkAttributeTypeConstraint, checkAttributeTypeConstraint, checkBuiltInTypeConstraint, checkComplexContent, checkComplexContent, checkElementComplexContent, checkSimpleTypeConstraint, clearDiagnostics, cloneConcreteComponents, considerAllContainsForBestConcreteComponent, contains, createDiagnostic, createDiagnostic, createDiagnostic, createDiagnostic, createElement, createRequiredAttributeDiagnostic, createUnresolvedAttributeDeclaration, createUnresolvedAttributeGroupDefinition, createUnresolvedComplexTypeDefinition, createUnresolvedElementDeclaration, createUnresolvedIdentityConstraintDefinition, createUnresolvedModelGroupDefinition, createUnresolvedNotationDeclaration, createUnresolvedSimpleTypeDefinition, createUnresolvedTypeDefinition, elementAttributesChanged, elementChanged, elementContentsChanged, eNotificationRequired, eNotify, eObjectForURIFragmentSegment, eURIFragmentSegment, forceEngulf, forceEngulf, forceNiceInsertBefore, forceNiceRemoveChild, forceReplace, getAdoptionParentNode, getBestConcreteComponent, getComponentsWithApplicationInformation, getComponentsWithInformation, getComponentsWithUserInformation, getContainer, getContentNodes, getDiagnostics, getDiagnosticTarget, getElement, getRootContainer, getSchema, getURIReferenceLabel, getXSDContents, getXSDFactory, getXSDPackage, handleAnnotationReconciliation, handleElementForAdopt, isUpdatingDOM, moveContent, niceCreateNamespaceAttribute, niceInsertBefore, niceRemoveChild, niceSetAttribute, niceSetAttributeURIValue, orphanBy, orphanContent, orphanDiagnostic, patch, printDFA, reconcile, reconcileContents, reportConstraintViolation, reset, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, setElementGen, setListContentAndOrder, traverseToRootForAnalysis, traverseToRootForPatching, updateElement, updateElement, updatePrefix
 
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.XSDConstrainingFacet
isConstraintSatisfied
 
Methods inherited from interface org.eclipse.xsd.XSDFacet
getAnnotation, getFacetName, getLexicalValue, getSimpleTypeDefinition, setAnnotation, setLexicalValue
 
Methods inherited from interface org.eclipse.xsd.XSDConcreteComponent
clearDiagnostics, contains, elementAttributesChanged, elementChanged, elementContentsChanged, getComponentsWithApplicationInformation, getComponentsWithUserInformation, getContainer, getDiagnostics, getElement, getRootContainer, getSchema, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, updateElement, updateElement, validate
 

Field Detail

VALUE_EDEFAULT

protected static final XSDWhiteSpace VALUE_EDEFAULT
The default value of the 'Value' attribute.

See Also:
getValue()

value

protected XSDWhiteSpace value
The cached value of the 'Value' attribute.

See Also:
getValue()
Constructor Detail

XSDWhiteSpaceFacetImpl

protected XSDWhiteSpaceFacetImpl()

Method Detail

createWhiteSpaceFacet

public static XSDWhiteSpaceFacet createWhiteSpaceFacet(Node node)

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class XSDFixedFacetImpl

getValue

public XSDWhiteSpace getValue()

Specified by:
getValue in interface XSDWhiteSpaceFacet
Returns:
the value of the 'Value' attribute.
See Also:
XSDWhiteSpace, XSDWhiteSpaceFacet.setValue(XSDWhiteSpace), XSDPackage.getXSDWhiteSpaceFacet_Value()

setValue

public void setValue(XSDWhiteSpace newValue)

Specified by:
setValue in interface XSDWhiteSpaceFacet
Parameters:
newValue - the new value of the 'Value' attribute.
See Also:
XSDWhiteSpace, XSDWhiteSpaceFacet.getValue()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        Class baseClass,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class XSDFixedFacetImpl

eGet

public Object eGet(EStructuralFeature eFeature,
                   boolean resolve)

Overrides:
eGet in class XSDFixedFacetImpl

eSet

public void eSet(EStructuralFeature eFeature,
                 Object newValue)

Overrides:
eSet in class XSDFixedFacetImpl

eUnset

public void eUnset(EStructuralFeature eFeature)

Overrides:
eUnset in class XSDFixedFacetImpl

eIsSet

public boolean eIsSet(EStructuralFeature eFeature)

Overrides:
eIsSet in class XSDFixedFacetImpl

toString

public String toString()

Overrides:
toString in class XSDFixedFacetImpl

createElement

public Element createElement()
Overrides:
createElement in class XSDConcreteComponentImpl

validateRestriction

protected void validateRestriction(XSDFixedFacet xsdFixedFacet)
Overrides:
validateRestriction in class XSDFixedFacetImpl

validateValue

protected void validateValue()
Overrides:
validateValue in class XSDFixedFacetImpl

changeAttribute

protected void changeAttribute(EAttribute eAttribute)
Overrides:
changeAttribute in class XSDFixedFacetImpl

getNormalizedLiteral

public String getNormalizedLiteral(String literal)
Description copied from interface: XSDWhiteSpaceFacet
This does any

Specified by:
getNormalizedLiteral in interface XSDWhiteSpaceFacet

getEffectiveValue

public Object getEffectiveValue()
Description copied from interface: XSDFacet
Returns the value of the 'Effective Value' attribute.

This represents a generic version of the value infoset property of this facet.

Specified by:
getEffectiveValue in interface XSDFacet
Overrides:
getEffectiveValue in class XSDFacetImpl

cloneConcreteComponent

public XSDConcreteComponent cloneConcreteComponent(boolean deep,
                                                   boolean shareDOM)
Description copied from interface: XSDConcreteComponent
Creates a clone of the component. The clone may be deep and may share the DOM of this component.

Specified by:
cloneConcreteComponent in interface XSDConcreteComponent
Overrides:
cloneConcreteComponent in class XSDConcreteComponentImpl

Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.