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.

Reuters PLC

Method Summary
 IdText getSizeInBytes()
          Get the size of the actual content in bytes.
Methods inherited from interface org.newsml.toolkit.BaseNode
getAttr, getChild, getChild, getChild, getChild, getChildCount, getChildCount, getParent, getPath, getSession, getXMLName, getXPath, insertAfter, insertAfter, insertAfter, insertAfter, insertAfterDuid, insertAfterDuid, insertBefore, insertBefore, insertBefore, insertBefore, insertBeforeDuid, insertBeforeDuid, insertChild, insertChild, insertFirst, insertFirst, insertLast, insertLast, removeChild, removeChild, removeSelf, replaceChild, replaceChild, replaceChild, replaceChild, replaceChild, replaceChild, setAttr, setAttr, toXML, toXML, unsetAttr, unsetAttr, writeXML, writeXML
Methods inherited from interface org.newsml.toolkit.IdNode
getDuid, getEuid
Methods inherited from interface org.newsml.toolkit.PropertyNode
getProperty, getProperty, getPropertyCount

Method Detail


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.

Text containing the size of the content in bytes or null if the size was not specified.