|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.chooser.XmlHandler
public abstract class XmlHandler
This is an abstract base class for defining different handlers
of xml documents for the XmlChooser.
The two primary subclasses are the WmsHandler
and the ThreddsHandler
| Field Summary | |
|---|---|
protected XmlChooser |
chooser
The chooser we are handling xml docs for |
protected String |
path
This is the url or file path pointing to the xml |
protected Element |
root
The root of the xml document |
protected XmlTree |
tree
Most of the subclasses use the XmlTree
to display the xml. |
| Constructor Summary | |
|---|---|
XmlHandler(XmlChooser chooser,
Element root,
String path)
Create the handler |
|
| Method Summary | |
|---|---|
abstract void |
doLoad()
The user has pressed the 'Load' button. |
protected abstract JComponent |
doMakeContents()
Overwritten by derived classes to actually create the GUI |
JComponent |
getContents()
Return the GUI contents |
String |
getPath()
Return the url or file path to the xml document |
protected void |
updateStatus()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected XmlChooser chooser
protected Element root
protected String path
protected XmlTree tree
XmlTree
to display the xml.
| Constructor Detail |
|---|
public XmlHandler(XmlChooser chooser,
Element root,
String path)
chooser - The chooser we are inroot - The root of the xml treepath - The url path of the xml document| Method Detail |
|---|
protected void updateStatus()
public String getPath()
public final JComponent getContents()
protected abstract JComponent doMakeContents()
public abstract void doLoad()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||