|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.control.georss.KmlFeedWriter
public class KmlFeedWriter
KML feed writer.
Nested Class Summary | |
---|---|
static class |
KmlFeedWriter.Geometry
Geometry |
static interface |
KmlFeedWriter.KmlSignatureProvider
Provides KML signature (header). |
Field Summary | |
---|---|
protected KmlFeedWriter.Geometry |
_geometry
geometry |
protected MessageBroker |
_messageBroker
Message broker. |
protected KmlFeedWriter.KmlSignatureProvider |
kmlSignatureProvider
signature provider |
Constructor Summary | |
---|---|
KmlFeedWriter(MessageBroker messageBroker,
PrintWriter writer)
Creates instance of the writer. |
Method Summary | |
---|---|
KmlFeedWriter.Geometry |
getGeometry()
Gets geometry type. |
KmlFeedWriter.KmlSignatureProvider |
getKmlSignatureProvider()
Gets KML signature provider. |
RecordSnippetWriter.Target |
getTarget()
Gets links target. |
void |
setGeometry(KmlFeedWriter.Geometry geometry)
Sets geometry type. |
void |
setKmlSignatureProvider(KmlFeedWriter.KmlSignatureProvider kmlSignatureProvider)
Sets KML signature provider. |
void |
setTarget(RecordSnippetWriter.Target target)
Sets links target. |
void |
write(SearchResultRecords records)
Writers records. |
protected void |
writeDirectTag(String name,
String value)
Writes simple attribute. |
protected void |
writeGeometry(SearchResultRecord record)
Writes geometry. |
protected void |
writeRecord(RecordSnippetWriter snippetWriter,
SearchResultRecord record)
Writes a single record. |
protected void |
writeTag(String name,
String value)
Writes simple attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected MessageBroker _messageBroker
protected KmlFeedWriter.Geometry _geometry
protected KmlFeedWriter.KmlSignatureProvider kmlSignatureProvider
Constructor Detail |
---|
public KmlFeedWriter(MessageBroker messageBroker, PrintWriter writer)
messageBroker
- message brokerwriter
- underlying print writerMethod Detail |
---|
public RecordSnippetWriter.Target getTarget()
public void setTarget(RecordSnippetWriter.Target target)
target
- links targetpublic KmlFeedWriter.Geometry getGeometry()
public void setGeometry(KmlFeedWriter.Geometry geometry)
geometry
- geometry typepublic KmlFeedWriter.KmlSignatureProvider getKmlSignatureProvider()
public void setKmlSignatureProvider(KmlFeedWriter.KmlSignatureProvider kmlSignatureProvider)
kmlSignatureProvider
- KML signature providerpublic void write(SearchResultRecords records)
write
in interface FeedWriter
records
- records to writeprotected void writeRecord(RecordSnippetWriter snippetWriter, SearchResultRecord record)
snippetWriter
- description HTML snippet writerrecord
- records to writeTagprotected void writeGeometry(SearchResultRecord record)
record
- recordprotected void writeTag(String name, String value)
name
- attribute namevalue
- attribute valueprotected void writeDirectTag(String name, String value)
name
- attribute namevalue
- attribute value
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |