|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.control.georss.RecordSnippetWriter
public class RecordSnippetWriter
HTML snippet writer.
| Nested Class Summary | |
|---|---|
static class |
RecordSnippetWriter.Target
links target |
| Constructor Summary | |
|---|---|
RecordSnippetWriter(MessageBroker messageBroker,
PrintWriter writer)
Creates instance of the writer. |
|
| Method Summary | |
|---|---|
boolean |
getClipText()
Checks if text shoud be clipped. |
boolean |
getShowDescription()
Checks if showing description allowed. |
boolean |
getShowIcon()
Checks if showing icon allowed. |
boolean |
getShowLinks()
Checks if showing links allowed. |
boolean |
getShowTitle()
Checks if showing title allowed. |
RecordSnippetWriter.Target |
getTarget()
Gets links target. |
void |
setClipText(boolean clipText)
Sets clipping text flag. |
void |
setShowDescription(boolean showDescription)
Sets showing description flag. |
void |
setShowIcon(boolean showIcon)
Sets showing icon flag. |
void |
setShowLinks(boolean showLinks)
Sets showing links flag. |
void |
setShowTitle(boolean showTitle)
Sets showing title flag. |
void |
setTarget(RecordSnippetWriter.Target target)
Sets links target. |
void |
write(SearchResultRecord record)
Writes HTML snippet with metadata description. |
void |
writeLinks(ResourceLinks links)
Write links. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RecordSnippetWriter(MessageBroker messageBroker,
PrintWriter writer)
messageBroker - message brokerwriter - underlying print writer| Method Detail |
|---|
public boolean getShowTitle()
true if showing title allowedpublic void setShowTitle(boolean showTitle)
showTitle - true to show titlepublic boolean getShowIcon()
true if showing icon allowedpublic void setShowIcon(boolean showIcon)
showIcon - true to show iconpublic boolean getShowDescription()
true if showing description allowedpublic void setShowDescription(boolean showDescription)
showDescription - true to show descriptionpublic boolean getShowLinks()
true if showing links allowedpublic void setShowLinks(boolean showLinks)
showLinks - true to show linkspublic boolean getClipText()
true if text shoud be clippedpublic void setClipText(boolean clipText)
clipText - true to clip textpublic RecordSnippetWriter.Target getTarget()
public void setTarget(RecordSnippetWriter.Target target)
target - links targetpublic void write(SearchResultRecord record)
record - record to write as snippetpublic void writeLinks(ResourceLinks links)
links - the links
|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||