com.splunk
Class AtomEntry

java.lang.Object
  extended by com.splunk.AtomObject
      extended by com.splunk.AtomEntry

public class AtomEntry
extends AtomObject

The AtomEntry class represents an Atom <entry> element.


Field Summary
 Record content
          The value of the Atom entry's <content> element.
 java.lang.String published
          The value of the Atom entry's <published> element.
 
Fields inherited from class com.splunk.AtomObject
id, links, title, updated
 
Constructor Summary
AtomEntry()
           
 
Method Summary
static AtomEntry parseStream(java.io.InputStream input)
          Creates a new AtomEntry instance based on a given stream.
 
Methods inherited from class com.splunk.AtomObject
createReader, getElementText, isEndElement, isStartElement, parseEnd, parseText, scan, scanEnd, scanTag, syntaxError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

published

public java.lang.String published
The value of the Atom entry's <published> element.


content

public Record content
The value of the Atom entry's <content> element.

Constructor Detail

AtomEntry

public AtomEntry()
Method Detail

parseStream

public static AtomEntry parseStream(java.io.InputStream input)
Creates a new AtomEntry instance based on a given stream. A few endpoints, such as search/jobs/{sid}, return an Atom <entry> element as the root of the response.

Parameters:
input - The input stream.
Returns:
An AtomEntry instance representing the parsed stream.