/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { // TODO: implement and remove call to super return super.parse(instance, node, value); }
public List getProperties(Object object) throws Exception { //special hack for Functions, while not mandated by the spec we handle it // here BinarySpatialOperator operator = (BinarySpatialOperator) object; if ( operator.getExpression2() instanceof Function ) { ArrayList props = new ArrayList(); props.add( new Object[]{ OGC.Function, operator.getExpression2() } ); return props; } return super.getProperties(object); }
public Object getProperty(Object object, QName name) throws Exception { ComplexDataType data = (ComplexDataType) object; if ( "schema".equals( name.getLocalPart() ) ) { return data.getSchema(); } if ( "mimeType".equals( name.getLocalPart() ) ) { return data.getMimeType(); } if ( "encoding".equals( name.getLocalPart() ) ) { return data.getEncoding(); } return super.getProperty(object, name); }
@Override public void initialize(ElementInstance instance, Node node, MutablePicoContainer context) { super.initialize(instance, node, context); folderStack.push(new Folder()); }
public List getProperties(Object object) throws Exception { //special hack for Functions, while not mandated by the spec we handle it // here BinarySpatialOperator operator = (BinarySpatialOperator) object; if (operator.getExpression2() instanceof Function) { ArrayList props = new ArrayList(); props.add(new Object[] { OGC.Function, operator.getExpression2() }); return props; } return super.getProperties(object); } }
return super.getProperty(object, name);
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { // TODO: implement and remove call to super return super.parse(instance, node, value); }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { // TODO: implement and remove call to super return super.parse(instance, node, value); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { //TODO: implement and remove call to super return super.parse(instance,node,value); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { // TODO: implement and remove call to super return super.parse(instance, node, value); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { //TODO: implement and remove call to super return super.parse(instance, node, value); }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { // TODO: implement and remove call to super return super.parse(instance, node, value); }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { return super.parse(instance, node, value); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { //TODO: implement and remove call to super return super.parse(instance,node,value); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { //TODO: implement and remove call to super return super.parse(instance,node,value); }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { // TODO: implement and remove call to super return super.parse(instance, node, value); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { //TODO: implement and remove call to super return super.parse(instance,node,value); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { //TODO: implement and remove call to super return super.parse(instance, node, value); }
@Override public Object parse(ElementInstance instance, Node node, Object value) throws Exception { Node parent = node.getParent(); if (parent != null) { String parentElementName = parent.getComponent().getName(); if (FOLDER.equals(parentElementName)) { Folder folder = folderStack.peek(); if (folder != null) { folder.setName(value.toString()); } } } return super.parse(instance, node, value); } }