/** * Splits the literal value into a list of literal values as appropriate for this feature. * <p> * This implementation splits the values at whitespace boundaries for all features.. * </p> * @param eAnnotation the annotation in question. * @param eModelElement the annotation's {@link EAnnotation#getEModelElement() containing} model element. * @param entry the annotation {@link EAnnotation#getDetails() detail} in question. * @param literalValue a literal value of this feature's {@link EStructuralFeature#getEType() type}. * @param feature the {@link #getProperties(EModelElement) property} associated with entry. * @param diagnostics a place to accumulate diagnostics; if it's <code>null</code>, no diagnostics should be produced. * @param context a place to cache information, if it's <code>null</code>, no cache is supported. * @return splits the literal value into a list of literal values as appropriate for this feature. * * @see #validateAttributeDetailValueLiteral(EAnnotation, EModelElement, Map.Entry, EAttribute, String, List, DiagnosticChain, Map) * @see #validateReferenceDetailValueLiteral(EAnnotation, EModelElement, Map.Entry, EReference, String, List, DiagnosticChain, Map) */ protected List<String> split( EAnnotation eAnnotation, EModelElement eModelElement, Map.Entry<String, String> entry, String literalValue, EStructuralFeature feature, DiagnosticChain diagnostics, Map<Object, Object> context) { return XMLTypeFactory.eINSTANCE.createENTITIESBase(literalValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popENTITIESBase(XMLTypeResourceImpl.DataFrame entitiesBase) { List<String> resultENTITIESBaseValue = XMLTypeFactory.eINSTANCE.createENTITIESBase(entitiesBase.popValue()); this.entitiesBase = entitiesBase; return resultENTITIESBaseValue; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popENTITIESBase(XMLTypeResourceImpl.DataFrame entitiesBase) { List<String> resultENTITIESBaseValue = XMLTypeFactory.eINSTANCE.createENTITIESBase(entitiesBase.popValue()); this.entitiesBase = entitiesBase; return resultENTITIESBaseValue; }
List<String> list = XMLTypeFactory.eINSTANCE.createENTITIESBase(literal); list.remove(""); value = list;