oracle.syndication.ice.payload
Class Ice_header

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

public class Ice_header
extends oracle.xml.classgen.CGNode
implements Printable

The Node Class representing the ice-header element within an ICE payload. The optional element ice-receiver is included to support our own protocol between the delivery scheduler and the ICE handler The "user-agent" will not be covered in the current stage. 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()
          Required when building XML Returns The Ice_payload DTD
 Ice_receiver getReceiver()
          Get the receiver's information
 Ice_sender getSender()
          Get the sender information
 boolean hasReceiver()
          Check whether or not the current package has the receiver element or not
 void print(java.lang.String szSpace, java.io.Writer wrt)
          This implementation of the Printable interface prints the whole ICE Payload by traversing down to its containees.
 
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

getSender

public Ice_sender getSender()
Get the sender information
Returns:
The sender entity in Ice_sender

hasReceiver

public boolean hasReceiver()
Check whether or not the current package has the receiver element or not
Returns:
TRUE means the receiver information is present

getReceiver

public Ice_receiver getReceiver()
Get the receiver's information
Returns:
The receiver entity in Ice_receiver

getDTDNode

public oracle.xml.parser.v2.DTD getDTDNode()
Required when building XML Returns The Ice_payload DTD
Returns:
The Ice_payload DTD
See Also:
DTD

getDocument

public Ice_payload getDocument()
Get Document Class Ice_payload
Returns:
Ice_payload class

print

public void print(java.lang.String szSpace,
                  java.io.Writer wrt)
           throws java.io.IOException
This implementation of the Printable interface prints the whole ICE Payload by traversing down to its containees.
Specified by:
print in interface Printable
Parameters:
szSpace - Space to print before each line.
wSink - Sink to print the node to.