org.eclipse.emf.ecore.util
Class FeatureMapUtil

java.lang.Object
  extended byorg.eclipse.emf.ecore.util.FeatureMapUtil

public final class FeatureMapUtil
extends Object


Nested Class Summary
static class FeatureMapUtil.BasicFeatureEIterator
           
static class FeatureMapUtil.BasicValidator
           
static class FeatureMapUtil.EntryImpl
           
static class FeatureMapUtil.FeatureEList
           
static class FeatureMapUtil.FeatureENotificationImpl
           
static class FeatureMapUtil.FeatureFeatureMap
           
static class FeatureMapUtil.FeatureValue
           
static interface FeatureMapUtil.Validator
           
 
Field Summary
protected static FeatureMapUtil.Validator NULL_VALIDATOR
           
protected static Class VALIDATOR_CLASS
           
 
Method Summary
static void addCDATA(FeatureMap featureMap, int index, String cdata)
           
static void addCDATA(FeatureMap featureMap, String cdata)
           
static void addComment(FeatureMap featureMap, int index, String comment)
           
static void addComment(FeatureMap featureMap, String comment)
           
static void addText(FeatureMap featureMap, int index, String text)
           
static void addText(FeatureMap featureMap, String text)
           
static FeatureMap.Entry createEntry(EStructuralFeature eStructuralFeature, Object value)
           
static FeatureMapUtil.Validator getValidator(EClass containingClass, EStructuralFeature eStructuralFeature)
           
static boolean isFeatureMap(EStructuralFeature eStructuralFeature)
           
static boolean isFeatureMapEntry(EClassifier eClassifier)
           
static boolean isMany(EObject owner, EStructuralFeature feature)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALIDATOR_CLASS

protected static final Class VALIDATOR_CLASS

NULL_VALIDATOR

protected static FeatureMapUtil.Validator NULL_VALIDATOR
Method Detail

addText

public static void addText(FeatureMap featureMap,
                           String text)

addText

public static void addText(FeatureMap featureMap,
                           int index,
                           String text)

addCDATA

public static void addCDATA(FeatureMap featureMap,
                            String cdata)

addCDATA

public static void addCDATA(FeatureMap featureMap,
                            int index,
                            String cdata)

addComment

public static void addComment(FeatureMap featureMap,
                              String comment)

addComment

public static void addComment(FeatureMap featureMap,
                              int index,
                              String comment)

isFeatureMap

public static boolean isFeatureMap(EStructuralFeature eStructuralFeature)

isFeatureMapEntry

public static boolean isFeatureMapEntry(EClassifier eClassifier)

createEntry

public static FeatureMap.Entry createEntry(EStructuralFeature eStructuralFeature,
                                           Object value)

getValidator

public static FeatureMapUtil.Validator getValidator(EClass containingClass,
                                                    EStructuralFeature eStructuralFeature)

isMany

public static boolean isMany(EObject owner,
                             EStructuralFeature feature)

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