public Object[] getAttributes( Object[] attributes ) { List list = (List) getAttribute( 0 ); return list.toArray( attributes ); } /**
/** * Not really interested yet .. */ public Object getAttribute( String xPath ) { if(xPath.indexOf(featureType.getTypeName())>-1) if(xPath.endsWith("]")){ // TODO get index and grab it return getAttribute(0); }else{ return getAttribute(0); } return null; }