org.newsml.toolkit
Interface PropertyNode

All Known Subinterfaces:
AdministrativeMetadata, Characteristics, DescriptiveMetadata, Metadata, NewsManagement, Property, RightsMetadata, Topic

public interface PropertyNode

Interface for nodes with properties.

Version:
2.0
Author:
Reuters PLC

Method Summary
 Property[] getProperty()
          Get all Property children in an array.
 Property getProperty(int index)
          Get a generic property.
 int getPropertyCount()
          Count the properties.
 

Method Detail

getPropertyCount

public int getPropertyCount()
Count the properties.
Returns:
The number of property nodes.

getProperty

public Property getProperty(int index)
Get a generic property.
Parameters:
index - The index of the property, zero-based, in sequential order.
Returns:
The property, or null if none was present at the specified index.

getProperty

public Property[] getProperty()
Get all Property children in an array.
Returns:
A (possibly-empty) array of Property children.