|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.macromedia.rssu.ObjectMetadata
Every object that gets written to and from xml needs it its own set of metadata. This metadata includes what fields are in this object and what types they are.
The reason that this metadata is kept outside of the object is that we want to be able to swap the rules for how you read and write an object at any time.
For example, how you write and read a Channel using RssStyle is different from how you write and read a Channel using RdfStyle.
| Constructor Summary | |
ObjectMetadata(PropertyMetadata[] props)
Initialize the object metadata |
|
| Method Summary | |
java.util.Iterator |
getNames()
Iterate through a list of names in our metadata |
PropertyMetadata |
getProperty(java.lang.String name)
Given the name of a property, return the property metadata object |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ObjectMetadata(PropertyMetadata[] props)
props - is the property level metadata| Method Detail |
public PropertyMetadata getProperty(java.lang.String name)
name - is the name of the propertypublic java.util.Iterator getNames()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||