src/ogc/ows/OwsOperationsMetadata.js
function (element) {
            if (!element) {
                throw new ArgumentError(
                    Logger.logMessage(Logger.LEVEL_SEVERE, "OwsOperationsMetadata", "constructor", "missingDomElement"));
            }

            var children = element.children || element.childNodes;
            for (var c = 0; c < children.length; c++) {
                var child = children[c];

                if (child.localName === "Operation") {
                    this.operation = this.operation || [];
                    this.operation.push(OwsOperationsMetadata.assembleOperation(child));
                }
                // TODO: Parameter, Constraint, ExtendedCapabilities
            }
        }
function (element) {
            if (!element) {
                throw new ArgumentError(
                    Logger.logMessage(Logger.LEVEL_SEVERE, "OwsOperationsMetadata", "constructor", "missingDomElement"));
            }

            var children = element.children || element.childNodes;
            for (var c = 0; c < children.length; c++) {
                var child = children[c];

                if (child.localName === "Operation") {
                    this.operation = this.operation || [];
                    this.operation.push(OwsOperationsMetadata.assembleOperation(child));
                }
                // TODO: Parameter, Constraint, ExtendedCapabilities
            }
        }
function ( element ) { if ( ! element ) { throw new ArgumentError ( Logger . logMessage ( Logger . LEVEL_SEVERE , "OwsOperationsMetadata" , "constructor" , "missingDomElement" ) ) ; } var children = element . children || element . childNodes ; for ( var c = 0 ; c < children . length ; c ++ ) { var child = children [ c ] ; if ( child . localName === "Operation" ) { this . operation = this . operation || [ ] ; this . operation . push ( OwsOperationsMetadata . assembleOperation ( child ) ) ; } // TODO: Parameter, Constraint, ExtendedCapabilities } }
Constructs an OWS Operations Metadata instance from an XML DOM.
@alias OwsOperationsMetadata
@constructor
@classdesc Represents an OWS Operations Metadata section of an OGC capabilities document.
This object holds as properties all the fields specified in the OWS Operations Metadata section.
Most fields can be accessed as properties named according to their document names converted to camel case.
For example, "operations".
@param {Element} element An XML DOM element representing the OWS Service Provider section.
@throws {ArgumentError} If the specified XML DOM element is null or undefined.
Constructs an OWS Operations Metadata instance from an XML DOM .