public Object parse(ElementInstance instance, Node node, Object value) throws Exception { ElementSetNameType result = (ElementSetNameType) createEObject(value); result.setValue(ElementSetType.get((String) value)); Node typeNames = node.getAttribute("typeNames"); if (typeNames != null) { result.setTypeNames((List<QName>) typeNames.getValue()); } return result; } }
public Object parse(ElementInstance instance, Node node, Object value) throws Exception { ElementSetNameType result = (ElementSetNameType) createEObject(value); result.setValue(ElementSetType.get((String) value)); Node typeNames = node.getAttribute("typeNames"); if (typeNames != null) { result.setTypeNames((List<QName>) typeNames.getValue()); } return result; } }
ElementSetNameType esn = Csw20Factory.eINSTANCE.createElementSetNameType(); esn.setValue(elementSet); esn.setTypeNames(typeNames); query.setElementSetName(esn);
ElementSetNameType esn = Csw20Factory.eINSTANCE.createElementSetNameType(); esn.setValue(elementSet); esn.setTypeNames(typeNames); query.setElementSetName(esn);