public Object parse(ElementInstance instance, Node node, Object value) throws Exception { EObject object = createEObject(value); if ( object != null ) { EMFUtils.set( object, "value", value ); return object; } return value; }
@Override public Object getProperty(Object object, QName name) throws Exception { Object result = super.getProperty(object, name); return result; } }
/** Registers the bindings for the configuration. */ protected void registerBindings(Map bindings) { bindings.put( DC.elementContainer, new SimpleContentComplexEMFBinding(Csw20Factory.eINSTANCE, DC.elementContainer)); bindings.put( DC.SimpleLiteral, new SimpleContentComplexEMFBinding(Csw20Factory.eINSTANCE, DC.SimpleLiteral)); bindings.put(DC.contributor, new SimpleLiteralBinding(DC.contributor)); bindings.put(DC.coverage, new SimpleLiteralBinding(DC.coverage)); bindings.put(DC.creator, new SimpleLiteralBinding(DC.creator)); bindings.put(DC.date, new SimpleLiteralBinding(DC.date)); bindings.put( DC.DCelement, new SimpleContentComplexEMFBinding(Csw20Factory.eINSTANCE, DC.DCelement)); bindings.put(DC.description, new SimpleLiteralBinding(DC.description)); bindings.put(DC.format, new SimpleLiteralBinding(DC.format)); bindings.put(DC.identifier, new SimpleLiteralBinding(DC.identifier)); bindings.put(DC.language, new SimpleLiteralBinding(DC.language)); bindings.put(DC.publisher, new SimpleLiteralBinding(DC.publisher)); bindings.put(DC.relation, new SimpleLiteralBinding(DC.relation)); bindings.put(DC.rights, new SimpleLiteralBinding(DC.rights)); bindings.put(DC.source, new SimpleLiteralBinding(DC.source)); bindings.put(DC.subject, new SimpleLiteralBinding(DC.subject)); bindings.put(DC.title, new SimpleLiteralBinding(DC.title)); bindings.put(DC.type, new SimpleLiteralBinding(DC.type)); }
bindings.put(OWS.BoundingBoxType,BoundingBoxTypeBinding.class); bindings.put(OWS.CodeType,new SimpleContentComplexEMFBinding(Ows11Factory.eINSTANCE, OWS.CodeType)); bindings.put(OWS.ContactType,new ComplexEMFBinding(Ows11Factory.eINSTANCE, OWS.ContactType)); bindings.put(OWS.DomainMetadataType,new SimpleContentComplexEMFBinding(Ows11Factory.eINSTANCE,OWS.DomainMetadataType)); bindings.put(OWS.LanguageStringType,new SimpleContentComplexEMFBinding(Ows11Factory.eINSTANCE,OWS.LanguageStringType)); bindings.put(OWS.MetadataType,new ComplexEMFBinding(Ows11Factory.eINSTANCE, OWS.MetadataType)); bindings.put(OWS.OnlineResourceType, new ComplexEMFBinding(Ows11Factory.eINSTANCE, OWS.OnlineResourceType)); bindings.put(OWS.ValueType, new SimpleContentComplexEMFBinding(Ows11Factory.eINSTANCE, OWS.ValueType));
bindings.put(OWS.LanguageStringType,new SimpleContentComplexEMFBinding(Ows11Factory.eINSTANCE,OWS.LanguageStringType)); bindings.put(OWS.MetadataType,new ComplexEMFBinding(Ows11Factory.eINSTANCE, OWS.MetadataType)); bindings.put(OWS.OnlineResourceType, new ComplexEMFBinding(Ows11Factory.eINSTANCE, OWS.OnlineResourceType));
bindings.put(WPS.InputType, new ComplexEMFBinding(Wps10Factory.eINSTANCE,WPS.InputType)); bindings.put(WPS.LanguagesType, new ComplexEMFBinding(Wps10Factory.eINSTANCE,WPS.LanguagesType)); bindings.put(WPS.LiteralDataType, new SimpleContentComplexEMFBinding(Wps10Factory.eINSTANCE,WPS.LiteralDataType)); bindings.put(WPS.LiteralInputType, new ComplexEMFBinding(Wps10Factory.eINSTANCE,WPS.LiteralInputType)); bindings.put(WPS.LiteralOutputType, new ComplexEMFBinding(Wps10Factory.eINSTANCE,WPS.LiteralOutputType));
bindings.put(WFS.Abstract, new SimpleContentComplexEMFBinding(Wfs20Factory.eINSTANCE, new QName(WFS.NAMESPACE, "AbstractType"))); bindings.put(WFS.DropStoredQuery, new ComplexEMFBinding(Wfs20Factory.eINSTANCE, WFS.DropStoredQuery, DropStoredQueryType.class)); bindings.put(WFS.Title, new SimpleContentComplexEMFBinding(Wfs20Factory.eINSTANCE, new QName(WFS.NAMESPACE, "TitleType")));