Properties

servicePanel

{HTMLDivElement} Container for the service panel.

metadataPanel

{HTMLDivElement} Container for the metadata panel.

requestList

{Array} A list of requests that have been made.

Constructor

oscar.Gui.Metadata

Parameters: div{HTMLDivElement} a HTMLDivElement object. theme - {oscar.ox.Theme}
an Oscar Theme object. options{Object} An optional object whose properties will be set on this instance.

Functions

isLoaded Checks to see if a URL has previously been loaded.

Parameters: url{String} a URL String.

Returns: {Boolean} whether the URL is loaded.

getLoadingDiv Builds a div element place holder to show

loading status

returns: {HTMLDivElement} a HTMLDivElement element.

loadWCSCapabilities Loads a WCS Capabilities document.

Parameters: url{String} URL String of the WCS service.

loadWMSCapabilities Loads a WMS Capabilities document

Parameters: url{String} URL String of the WMS service.

loadWMTSCapabilities Loads a WMTS Capabilities document.

Parameters: url{String} URL String of the WMTS service.

loadWFSCapabilities Loads a WFS Capabilities document.

Parameters: url{String} URL String of the WFS service.

renderService Creates the panels to display service

information.

Parameters: panela HTMLDivElement container. capabilities - an Oscar formatted capabilities document.

buildServiceMetadata Builds the panel for the service

metadata.

Parameters: capabilitiesan Oscar formatted capabilities document.
Returns: serviceMetadata{HTMLDivElement} a panel contains service metadata.

buildServiceInformationPanel

buildServiceInformationPanel : function(capabilities)

Builds the service information panel.

Parameters: capabilities{Object} an Oscar formatted capabilities document.
Returns: serviceInformationPanel{HTMLDivElement} a panel containing service information.

buildServiceContactPanel Builds the panel to display service

contact information.

Parameters: capabilities{Object} an Oscar formatted capabilities document.
Returns: serviceContactPanel{HTMLDivElement} a panel containing service contact information.

buildServiceContent Builds the panel to display service

content.

Parameters: capabilities{Object} an Oscar formatted capabilities document.
Returns: panel{HTMLDivElement} a panel containing service content information.

buildAbstractPanel Builds the panel to display service

abstracts.

Parameters: contentcontent of Abstract section.
Returns: abstractPanel{HTMLDivElement} a panel containing abstract information.

buildKeywordsPanel Builds the panel to display service

keywords.

Parameters: keywordscontent of the Keywords section in capabilities file.
Returns: keywordsPanel{HTMLDivElement} a panel containing keywords information.

Constants

CLASS_NAME - oscar.Gui.Metadata

buildServiceInformationPanel : function(capabilities)
Builds the service information panel.
This class represents a Theme from Oscar eXchange Format