Package ucar.unidata.idv.chooser
Class OpenSearchHandler
java.lang.Object
ucar.unidata.idv.chooser.XmlHandler
ucar.unidata.idv.chooser.OpenSearchHandler
This handles opensearch description documents in the
XmlChooser.- Author:
- Jeff McWhirter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringxml itemsstatic final Stringxml itemsstatic final Stringxml itemsstatic final Stringxml itemsstatic final Stringxml itemsstatic final Stringxml itemsstatic final Stringxml itemsstatic final Stringxml itemsstatic final Stringxml itemsstatic final Stringxml itemsstatic final Stringxml itemsstatic final Stringxml itemsstatic final Stringxml itemsstatic final Stringxml itemsstatic final Stringxml itemsstatic final Stringxml itemsFields inherited from class ucar.unidata.idv.chooser.XmlHandler
chooser, path, root, tree -
Constructor Summary
ConstructorsConstructorDescriptionOpenSearchHandler(XmlChooser chooser, Element root, String path) Create the handler -
Method Summary
Modifier and TypeMethodDescriptionvoiddoLoad()The user has pressed the 'Load' button.protected JComponentCreate the UIprotected voidUpdate the statusMethods inherited from class ucar.unidata.idv.chooser.XmlHandler
getContents, getPath
-
Field Details
-
XMLNS_XMLNS
xml items- See Also:
-
XMLNS_XMLNS_GEO
xml items- See Also:
-
XMLNS_XMLNS_TIME
xml items- See Also:
-
TAG_OPENSEARCHDESCRIPTION
xml items- See Also:
-
TAG_SHORTNAME
xml items- See Also:
-
TAG_DESCRIPTION
xml items- See Also:
-
TAG_CONTACT
xml items- See Also:
-
TAG_SYNDICATIONRIGHT
xml items- See Also:
-
TAG_ADULTCONTENT
xml items- See Also:
-
TAG_LANGUAGE
xml items- See Also:
-
TAG_OUTPUTENCODING
xml items- See Also:
-
TAG_INPUTENCODING
xml items- See Also:
-
TAG_IMAGE
xml items- See Also:
-
TAG_URL
xml items- See Also:
-
ATTR_TEMPLATE
xml items- See Also:
-
ATTR_TYPE
xml items- See Also:
-
-
Constructor Details
-
OpenSearchHandler
Create the handler- Parameters:
chooser- The chooser we are inroot- The root of the xml treepath- The url path of the xml document
-
-
Method Details
-
updateStatus
protected void updateStatus()Update the status- Overrides:
updateStatusin classXmlHandler
-
doMakeContents
Create the UI- Specified by:
doMakeContentsin classXmlHandler- Returns:
- The UI component
-
doLoad
public void doLoad()The user has pressed the 'Load' button. Check if a node is selected- Specified by:
doLoadin classXmlHandler
-