You lost me.. I think either I need you to give me a concrete example or 
I need to better describe what I want to do.

I have a java application that generates AS3 classes from an XML Schema 
source.   Here is a simple example of one of those classes:

public class Angle {
       
        public var activeaudioangle:String;
       
        public var activevideoangle:String;
       
        public var clip:com.decoursey.xmeml.Clip;
       
        public function Angle() {
        }
       
       
       
    }

What I'd like to do is add metadata to properties(or to the class), for 
example:

public class Angle {
       
        [XBElementSource(name="AAA")]
        public var activeaudioangle:String;
       
        [XBElementSource(name="AVA")]
        public var activevideoangle:String;
       
        public var clip:com.decoursey.xmeml.Clip;
       
        public function Angle() {
        }
       
       
       
    }

And then at runtime I'd like to inspect the metadata, or even have the 
compiler generate some extra code based on the metadata.  How do I do 
that?  Can I do that?

Michael Schmalle wrote:
> Yes,
>
> use the xml reflection and there is a meta data node for the member it 
> was
> defined on.
>
> Peace, Mike
>
> On 6/8/07, Paul deCoursey <[EMAIL PROTECTED]> wrote:
>>
>>   Does anybody know if it's possible to define our own metadata and 
>> access
>>
>> that info at runtime? For example, I'm writing a XML-Object binding
>> framework and I'd like to add some metadata to some generated classes
>> that I can access at runtime. The data I'd like to add is info about
>> how the object should be read or written to and from XML.
>>
>> Paul
>>
>>  
>>
>
>
>

Reply via email to