oracle.syndication.ice.payload
Class Ice_item_ref

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

public class Ice_item_ref
extends Ice_item_content
implements RefItem, Printable

The Node Class representing the ice-item (not ref) element within an ice-item-group element in an ICE payload

Since:
9.0.0.0.0 Beta

Method Summary
TypeMethod
 void addNode(Ice_access I)
          Add Ice_access to Ice-item-ref
 java.util.List getAccessList()
          Get a list of Ice-access policy if there is any
 Ice_payload getDocument()
          Get the owning document Class Ice_payload
 oracle.xml.parser.v2.DTD getDTDNode()
          Returns the Ice_payload DTD
 Item getGroupItem()
          Returns the group item if we are a group item
 java.lang.String getItemId()
          Gets the item id
 java.lang.String getName()
          Gets the name of the item ref
 RefItem getRefItem()
          The ref item if this is a item-ref
 ContentItem getSingleItem()
          Gets the single item interface (content is inline)
 java.lang.String getUrl()
          Get the url for content retrieval
 boolean isGroupItem()
          Are we a group item?
 boolean isRefItem()
          Is this a ref item?
 boolean isSingleItem()
          Is this a single item where the content is inline?
 void print(java.lang.String szSpace, java.io.Writer wrt)
          Prints the ice-item-ref node with a specific prefix into the specified writer.
 void setItemId(java.lang.String s)
          Sets the item id
 void setName(java.lang.String s)
          Sets the name of the item ref
 void setUrl(java.lang.String theData)
          Sets the value of attribute url
 
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

addNode

public void addNode(Ice_access I)
             throws oracle.xml.classgen.InvalidContentException
Add Ice_access to Ice-item-ref
Parameters:
I - Node of type Ice_access
Throws:
oracle.xml.classgen.InvalidContentException - if node cannot be added as per the Content model of the element.

setUrl

public void setUrl(java.lang.String theData)
Sets the value of attribute url
Specified by:
setUrl in interface RefItem
Parameters:
theData - value of the attribute

getUrl

public java.lang.String getUrl()
Get the url for content retrieval
Specified by:
getUrl in interface RefItem

getDTDNode

public oracle.xml.parser.v2.DTD getDTDNode()
Returns the Ice_payload DTD
Returns:
The DTD of the Ice_payload that owns this node.
Overrides:
getDTDNode in class Ice_item_content
See Also:
DTD

getDocument

public Ice_payload getDocument()
Get the owning document Class Ice_payload
Returns:
The ice-payload document that owns this node.
Overrides:
getDocument in class Ice_item_content

getAccessList

public java.util.List getAccessList()
Get a list of Ice-access policy if there is any

isSingleItem

public boolean isSingleItem()
Is this a single item where the content is inline?
Returns:
false
Overrides:
isSingleItem in class Ice_item_content

getSingleItem

public ContentItem getSingleItem()
Gets the single item interface (content is inline)
Returns:
null
Overrides:
getSingleItem in class Ice_item_content

isRefItem

public boolean isRefItem()
Is this a ref item?
Returns:
true
Overrides:
isRefItem in class Ice_item_content

getRefItem

public RefItem getRefItem()
The ref item if this is a item-ref
Returns:
this
Overrides:
getRefItem in class Ice_item_content

isGroupItem

public boolean isGroupItem()
Are we a group item?
Returns:
false
Overrides:
isGroupItem in class Ice_item_content

getGroupItem

public Item getGroupItem()
Returns the group item if we are a group item
Returns:
null
Overrides:
getGroupItem in class Ice_item_content

setItemId

public void setItemId(java.lang.String s)
Sets the item id
Overrides:
setItemId in class Ice_item_content

getItemId

public java.lang.String getItemId()
Gets the item id
Overrides:
getItemId in class Ice_item_content

setName

public void setName(java.lang.String s)
Sets the name of the item ref
Overrides:
setName in class Ice_item_content

getName

public java.lang.String getName()
Gets the name of the item ref
Overrides:
getName 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-ref node with a specific prefix into the specified writer.
Specified by:
print in interface Printable
Overrides:
print in class Ice_item_content