com.macromedia.rssu
Class ReferenceMetadata

java.lang.Object
  extended bycom.macromedia.rssu.PropertyMetadata
      extended bycom.macromedia.rssu.ReferenceMetadata

public class ReferenceMetadata
extends PropertyMetadata

This object implements the metadata for a a more complex java object than a simple text property in the xml. In other words, a reference is our hook into creating java objects out of parts of the xml document. For example, if you current context is foo, you might read in an image object: ... Where an image is a complex object.


Constructor Summary
ReferenceMetadata(java.lang.String name, java.lang.String tagName, RssInstanceFactory instanceFactory, java.lang.Class rssClass)
          You construct a refrence metadata with the capablity of creating objects and filling them in.
 
Methods inherited from class com.macromedia.rssu.PropertyMetadata
getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceMetadata

public ReferenceMetadata(java.lang.String name,
                         java.lang.String tagName,
                         RssInstanceFactory instanceFactory,
                         java.lang.Class rssClass)
You construct a refrence metadata with the capablity of creating objects and filling them in.

Parameters:
tagName - is the tag to find to create a refrence from
instanceFactory - is where you can get instances of rss objects that are all configured and ready to go (for example, have the right metadata attached to them)
rssClass - is the class we will be constructing when asked to read our data in