code: protected T doSwitch(int classifierID, EObject theEObject) {
  		switch (classifierID) {
  			case ColorPackage.DOCUMENT_ROOT: {
  				DocumentRoot documentRoot = (DocumentRoot)theEObject;
  				T result = caseDocumentRoot(documentRoot);
  				if (result == null) result = defaultCase(theEObject);
  				return result;
  			}
  			default: return defaultCase(theEObject);
  		}
  	}
docs: Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
  <!-- begin-user-doc -->
  <!-- end-user-doc -->
  @return the first non-null result returned by a <code>caseXXX</code> call.
  @generated