Ben Caradoc-Davies wrote:
> (3) How do I write a binding for GML types whose name is not known at 
> compile time? In my earlier example GeologicFeaturePropertyType is a 
> complex type defined in an application schema.

Please correct me if I am wrong, but my understanding is that it is the 
responsibility of a binding to extract the properties that are the 
immediate children of the object being processed. If I had a different 
binding for GML.AbstractFeatureType this still would not help me, 
because, because it would be obliged to return the 
GeologicFeaturePropertyType property, and not extract the properties of 
its children (grandchildren of the feature). The case I mentioned earlier:

gsml:MappedFeature/gsml:specification/gsml:GeologicUnit

- gsml:specification is of gsml:GeologicFeaturePropertyType

- gsml:GeologicFeaturePropertyType contains an element 
ref="gsml:GeologicFeature"

- gsml:GeologicUnit is in the substitution group for gsml:GeologicFeature

Is a binding processing gsml:MappedFeature allowed to return tuples
    Object[] {particle, value}
for properties of its own properties (its grandchildren)? Or would this 
cause these to be encoded as if they were its own children?

Regards,

-- 
Ben Caradoc-Davies <[email protected]>
Software Engineer, CSIRO Exploration and Mining
Australian Resources Research Centre
26 Dick Perry Ave, Kensington WA 6151, Australia

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to