Esri Geoportal Server
1.0

com.esri.gpt.control.georss
Class AtomFeedWriter

java.lang.Object
  extended by com.esri.gpt.control.georss.AtomFeedWriter
All Implemented Interfaces:
FeedWriter

public class AtomFeedWriter
extends Object
implements FeedWriter

ATOM feed writer.


Nested Class Summary
 class AtomFeedWriter.AtomEntry
          Represents an Atom Entry.
 class AtomFeedWriter.AtomFeed
          Represents an Atom Feed.
 
Constructor Summary
AtomFeedWriter(PrintWriter writer)
          Constructor.
AtomFeedWriter(PrintWriter writer, String entryBaseUrl)
          Constructor.
 
Method Summary
 String getEntryBaseUrl()
          Gets the entry base url.
 MessageBroker getMessageBroker()
          Gets the Message Broker.
 RecordSnippetWriter.Target getTarget()
          Gets links target.
 void set_messageBroker(MessageBroker broker)
          Sets the Message Broker.
 void setEntryBaseUrl(String url)
          Sets the entry base url.
 void setTarget(RecordSnippetWriter.Target target)
          Sets links target.
 void write(SearchResultRecords records)
          Write Atom Feed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomFeedWriter

public AtomFeedWriter(PrintWriter writer)
Constructor.

Parameters:
writer - the writer

AtomFeedWriter

public AtomFeedWriter(PrintWriter writer,
                      String entryBaseUrl)
Constructor.

Parameters:
writer - the writer
entryBaseUrl - provider URL
Method Detail

setEntryBaseUrl

public void setEntryBaseUrl(String url)
Sets the entry base url.

Parameters:
url - the new entry base url

getEntryBaseUrl

public String getEntryBaseUrl()
Gets the entry base url.

Returns:
Base URL

getTarget

public RecordSnippetWriter.Target getTarget()
Gets links target.

Returns:
links targets

setTarget

public void setTarget(RecordSnippetWriter.Target target)
Sets links target.

Parameters:
target - links target

getMessageBroker

public MessageBroker getMessageBroker()
Gets the Message Broker.

Returns:
message broker

set_messageBroker

public void set_messageBroker(MessageBroker broker)
Sets the Message Broker.

Parameters:
broker - the new _message broker

write

public void write(SearchResultRecords records)
Write Atom Feed.

Specified by:
write in interface FeedWriter
Parameters:
records - records to write

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.