private static String getText(FeatureMap featureMap) { StringBuffer buffer = new StringBuffer(""); for (FeatureMap.Entry entry : featureMap) { if (FeatureMapUtil.isText(entry)) { buffer.append(entry.getValue().toString()); } } return buffer.toString(); } } // StrucDocTextOperations
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public static String getText(ED ed) { StringBuffer text = new StringBuffer(""); for (FeatureMap.Entry entry : ed.getMixed()) { if (FeatureMapUtil.isText(entry)) { text.append(entry.getValue().toString()); } } return text.toString(); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public static String getText(EN en) { StringBuffer text = new StringBuffer(""); for (FeatureMap.Entry entry : en.getMixed()) { if (FeatureMapUtil.isText(entry)) { text.append(entry.getValue().toString()); } } return text.toString(); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public static String getText(AD ad) { StringBuffer text = new StringBuffer(""); for (FeatureMap.Entry entry : ad.getMixed()) { if (FeatureMapUtil.isText(entry)) { text.append(entry.getValue().toString()); } } return text.toString(); }
protected Object getConfigurationData ( final HiveConfigurationType configuration ) { for ( FeatureMap.Entry entry : configuration.getAny () ) { if ( entry.getValue () instanceof EObject ) { return entry.getValue (); } else if ( FeatureMapUtil.isText ( entry ) ) { return entry.getValue (); } else if ( FeatureMapUtil.isCDATA ( entry ) ) { return entry.getValue (); } } return null; }
protected Object getConfigurationData ( final HiveConfigurationType configuration ) { for ( FeatureMap.Entry entry : configuration.getAny () ) { if ( entry.getValue () instanceof EObject ) { return entry.getValue (); } else if ( FeatureMapUtil.isText ( entry ) ) { return entry.getValue (); } else if ( FeatureMapUtil.isCDATA ( entry ) ) { return entry.getValue (); } } return null; }