public class FeatureTypeBinding extends Object
<cit:cities>
<cit:the_geom>
<gml:Point srsName='0'>
<gml:coordinates>-123.06999969482422,49.411192817494346</gml:coordinates>
</gml:Point>
</cit:the_geom>
<cit:NAME>Vancouver</cit:NAME>
<cit:CAPITAL>N</cit:CAPITAL>
<cit:PROV_NAME>British Columbia</cit:PROV_NAME>
</cit:cities>
Constructor and Description |
---|
FeatureTypeBinding() |
Modifier and Type | Method and Description |
---|---|
String |
getID(GPEDefaultGmlParser handler,
Map hash)
It returns a the feaure id attribute
|
Object |
parse(IXmlStreamReader parser,
GPEDefaultGmlParser handler)
It parses a feature
|
public Object parse(IXmlStreamReader parser, GPEDefaultGmlParser handler) throws XmlStreamException, IOException
parser
- The XML parserhandler
- The GPE parser that contains the content handler and
the error handlerXmlStreamException
IOException
public String getID(GPEDefaultGmlParser handler, Map hash)
hash
- Hashtable with the XML attributes