com.macromedia.rssu
Class ElementMetadata

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

public class ElementMetadata
extends com.macromedia.rssu.PropertyMetadata

This object describes how to read and write values to elements.

For example, we might be trying to read the "title" tag, which would be of the form:

<title>My Title</title>


Constructor Summary
ElementMetadata(java.lang.String name)
          Construct element metadata, but assume that tagName and name are the same.
ElementMetadata(java.lang.String name, java.lang.String tagName)
          Create an ElementMetadata tag
 
Method Summary
 java.lang.String getName()
          get the name of this property
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementMetadata

public ElementMetadata(java.lang.String name,
                       java.lang.String tagName)
Create an ElementMetadata tag

Parameters:
name - is the property name
tagName - is the name of the xml tag. if tagName is null, then use name for tagName.

ElementMetadata

public ElementMetadata(java.lang.String name)
Construct element metadata, but assume that tagName and name are the same.

Parameters:
name - is the both the property and tagname
Method Detail

getName

public java.lang.String getName()
get the name of this property