|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.control.search.browse.TocItem
public class TocItem
Represents an item within a table of contents.
| Constructor Summary | |
|---|---|
TocItem()
Default constructor |
|
| Method Summary | |
|---|---|
List<TocItem> |
getChildren()
Gets the children. |
String |
getId()
Gets the id. |
String |
getName()
Gets the name. |
String |
getQuery()
Gets the query string (rest). |
String |
getResourceKey()
Gets the UI property bundle resource key. |
String |
getType()
Gets the type (for TOC image display). |
boolean |
hasChildren()
Determines whether or not this property has children. |
void |
invalidate()
Invalidates the item. |
boolean |
isValid()
Gets the flag indicating whether or not the item is valid. |
void |
lookupName(MessageBroker msgBroker)
Looks up the item name based upon the UI property bundle resource key. |
static TocItem |
makeItemInstance(TocContext context,
String className)
Makes a TocItem instance based upon a class name. |
void |
processItemNode(TocContext context,
Node node)
Processes a TOC item node. |
void |
setChildren(List<TocItem> children)
Sets the children. |
void |
setId(String id)
Sets the id. |
void |
setName(String name)
Sets the name. |
void |
setQuery(String query)
Sets the query string (rest). |
void |
setResourceKey(String resourceKey)
Sets the UI property bundle resource key. |
void |
setType(String type)
Sets the type (for TOC image display). |
void |
toJson(PrintWriter writer,
int depth,
boolean isLast)
Writes a JSON representation of the property. |
void |
toXml(PrintWriter writer,
int depth)
Writes an XML representation of the property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TocItem()
| Method Detail |
|---|
public List<TocItem> getChildren()
public void setChildren(List<TocItem> children)
children - the childrenpublic String getId()
public void setId(String id)
id - the idpublic String getName()
public void setName(String name)
name - the namepublic String getQuery()
public void setQuery(String query)
query - query stringpublic String getResourceKey()
public void setResourceKey(String resourceKey)
resourceKey - the resource keypublic String getType()
public void setType(String type)
type - the typepublic boolean hasChildren()
true if this property has childrenpublic void invalidate()
public boolean isValid()
true if the item is validpublic void lookupName(MessageBroker msgBroker)
msgBroker - the message broker
public static TocItem makeItemInstance(TocContext context,
String className)
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException
context - the operation contextclassName - the fully qualified class name
ClassNotFoundException - if the class was not found
InstantiationException - if the class could not be instantiated
IllegalAccessException - if the class could not be accessed
public void processItemNode(TocContext context,
Node node)
throws Exception
context - the operation contextnode - the item node
Exception - if an exception occurs
public void toJson(PrintWriter writer,
int depth,
boolean isLast)
throws IOException
writer - the writerdepth - the depth of the parent
IOException - if an exception occurs
public void toXml(PrintWriter writer,
int depth)
throws IOException
writer - the writerdepth - the depth of the parent
IOException - if an exception occurs
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||