oracle.syndication.ice.payload
Class Ice_item_group

java.lang.Object
  |
  +--oracle.xml.classgen.CGNode
        |
        +--oracle.syndication.ice.payload.Ice_item_content
              |
              +--oracle.syndication.ice.payload.Ice_item_group

public class Ice_item_group
extends Ice_item_content
implements Item, Printable

The Node Class representing the ice-item-group element within an ice-package element in an ice-response element in an ICE payload. The current version does not support nested item-groups. The attributes allowed under this element include the following:

The child elements allowed under this element include the following:

Since:
9.0.0.0.0 Beta

Method Summary
TypeMethod
 Ice_payload getDocument()
          Get Document Class Ice_payload
 oracle.xml.parser.v2.DTD getDTDNode()
          Returns the Ice_payload DTD.
 Item getGroupItem()
          The ref item if this is a single item.
 java.lang.String getItemId()
          Returns the item-id of the ice-item-group and overwrite Item_content
 java.util.List getItems()
          Gets the list of items within this item-group
 java.lang.String getName()
          Returns the name of the ice-item-group and overwrite Item_content
 RefItem getRefItem()
          The ref item if this is a single item.
 ContentItem getSingleItem()
          The single item if this is a single item.
 boolean isGroupItem()
          Is this a group item?
 boolean isRefItem()
          Is this a ref item?
 boolean isSingleItem()
          Is this a single item?
 void print(java.lang.String szSpace, java.io.Writer wrt)
          Prints the ice-item-group node with a specific prefix into the specified writer.
 void setItemId(java.lang.String theData)
          Sets the value of attribute item-group-id
 void setName(java.lang.String theData)
          Sets the value of attribute name The name is mainly used for logging purpose
 
Methods inherited from class oracle.syndication.ice.payload.Ice_item_content
decrypt, enableShowCredit, encrypt, getActivationDate, getContent_transfer_encoding, getContent_transfer_encryption, getContent_type, getContentFilename, getExpirationDate, getIntellectualStatus, getItemContent, getItemLanguage, getLicense, getRightsHolder, getSubscriptionElement, setActivationDate, setContent_transfer_encoding, setContent_transfer_encryption, setContent_type, setContentFilename, setEncryptor, setExpirationDate, setIntellectualStatus, setItemLanguage, setLicense, setRightsHolder, setSubscriptionElement, showCredit
 
Methods inherited from class oracle.xml.classgen.CGNode
setDocument
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setName

public void setName(java.lang.String theData)
Sets the value of attribute name The name is mainly used for logging purpose
Specified by:
setName in interface Item
Parameters:
theData - value of the attribute
Overrides:
setName in class Ice_item_content

setItemId

public void setItemId(java.lang.String theData)
Sets the value of attribute item-group-id
Specified by:
setItemId in interface Item
Parameters:
theData - value of the attribute
Overrides:
setItemId in class Ice_item_content

getDTDNode

public oracle.xml.parser.v2.DTD getDTDNode()
Returns the Ice_payload DTD.
Returns:
the DTD
Overrides:
getDTDNode in class Ice_item_content
See Also:
DTD

getDocument

public Ice_payload getDocument()
Get Document Class Ice_payload
Returns:
Ice_payload class
Overrides:
getDocument in class Ice_item_content

isSingleItem

public boolean isSingleItem()
Is this a single item?
Specified by:
isSingleItem in interface Item
Returns:
false
Overrides:
isSingleItem in class Ice_item_content

getSingleItem

public ContentItem getSingleItem()
The single item if this is a single item.
Specified by:
getSingleItem in interface Item
Returns:
null
Overrides:
getSingleItem in class Ice_item_content

isRefItem

public boolean isRefItem()
Is this a ref item?
Specified by:
isRefItem in interface Item
Returns:
false
Overrides:
isRefItem in class Ice_item_content

getRefItem

public RefItem getRefItem()
The ref item if this is a single item.
Specified by:
getRefItem in interface Item
Returns:
null
Overrides:
getRefItem in class Ice_item_content

isGroupItem

public boolean isGroupItem()
Is this a group item?
Specified by:
isGroupItem in interface Item
Returns:
true
Overrides:
isGroupItem in class Ice_item_content

getGroupItem

public Item getGroupItem()
The ref item if this is a single item.
Specified by:
getGroupItem in interface Item
Returns:
null
Overrides:
getGroupItem in class Ice_item_content

getItems

public java.util.List getItems()
Gets the list of items within this item-group

getName

public java.lang.String getName()
Returns the name of the ice-item-group and overwrite Item_content
Specified by:
getName in interface Item
Overrides:
getName in class Ice_item_content

getItemId

public java.lang.String getItemId()
Returns the item-id of the ice-item-group and overwrite Item_content
Specified by:
getItemId in interface Item
Overrides:
getItemId in class Ice_item_content

print

public void print(java.lang.String szSpace,
                  java.io.Writer wrt)
           throws java.io.IOException
Prints the ice-item-group node with a specific prefix into the specified writer.
Specified by:
print in interface Printable
Overrides:
print in class Ice_item_content