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.1beta
- Author:
- Reuters PLC
Methods inherited from interface org.newsml.toolkit.BaseNode |
getChild, getChild, getChild, getChild, getChildCount, getChildCount, getParent, getPath, getSession, getXMLName, getXPath, removeSelf, toXML, toXML, writeXML, writeXML |
getSizeInBytes
public IdText getSizeInBytes()
- Get the size of the actual content in bytes.
To get the size as an integer, use the Text.toInt()
method on the return value.
- Returns:
- Text containing the size of the content in bytes or
null if the size was not specified.