org.newsml.toolkit
Interface Characteristics

All Superinterfaces:
BaseNode, IdNode, PropertyNode

public interface Characteristics
extends BaseNode, IdNode, PropertyNode

Physical characteristics of a content item.

This interface provides information about physical size of a content item in bytes, and may also provide other information through the generic Property interface.

Version:
1.0
Author:
Reuters PLC

Method Summary
 int getSizeInBytes()
          Get the size of the actual content in bytes.
 
Methods inherited from interface org.newsml.toolkit.BaseNode
getSession, getXMLName
 
Methods inherited from interface org.newsml.toolkit.IdNode
getDuid, getEuid
 
Methods inherited from interface org.newsml.toolkit.PropertyNode
getProperty, getProperty, getPropertyCount
 

Method Detail

getSizeInBytes

public int getSizeInBytes()
Get the size of the actual content in bytes.
Returns:
The size of the content in bytes, or -1 if the size was not specified.