Mapbender 3.0.6.2 API documenation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • FOM
    • CoreBundle
      • Component
      • DependencyInjection
      • Doctrine
        • Types
      • Form
        • DataTransformer
        • Type
    • ManagerBundle
      • Component
      • Configuration
      • Controller
      • DependencyInjection
        • Compiler
      • Form
        • Type
      • Routing
    • UserBundle
      • Command
      • Component
      • Controller
      • DependencyInjection
        • Factory
      • Entity
      • EventListener
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Firewall
  • Mapbender
    • Component
    • CoreBundle
      • Asset
      • Command
      • Component
        • Exception
      • Controller
      • DataFixtures
        • ORM
          • Application
      • DependencyInjection
        • Compiler
      • Element
        • DataTransformer
        • EventListener
        • Type
      • Entity
      • EventListener
      • Extension
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
      • Template
      • Tests
        • Controller
      • Utils
      • Validator
        • Constraints
    • DataSourceBundle
      • Component
        • Drivers
          • Interfaces
      • Controller
      • DependencyInjection
      • Element
        • Type
      • Entity
      • Extension
      • Tests
    • DigitizerBundle
      • Component
      • Element
        • Type
      • Entity
      • Utils
    • DrupalIntegrationBundle
      • DependencyInjection
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Factory
        • Firewall
        • User
      • Session
    • KmlBundle
      • Element
    • ManagerBundle
      • Component
        • Exception
      • Controller
      • Form
        • DataTransformer
        • Type
      • Template
    • MobileBundle
      • DependencyInjection
      • Template
    • PrintBundle
      • Component
      • Element
        • Type
    • WmcBundle
      • Component
        • Exception
      • Element
        • Type
      • Entity
      • Form
        • Type
      • Tests
        • Component
    • WmsBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Element
        • DataTransformer
        • EventListener
        • Type
      • Entity
      • Event
      • Form
        • DataTransformer
        • EventListener
        • Type
  • None
  • OwsProxy3
    • CoreBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Entity
      • Event
      • EventListener
      • Worker
  • PHP

Classes

  • Attribution
  • Authority
  • Dimension
  • DimensionInst
  • DimTime
  • Identifier
  • IdentifierAuthority
  • LegendUrl
  • MetadataUrl
  • MinMax
  • OnlineResource
  • RequestInformation
  • Style
  • VendorSpecific
  • VendorSpecificHandler
  • WmsCapabilitiesParser
  • WmsCapabilitiesParser111
  • WmsCapabilitiesParser130
  • WmsInstanceConfiguration
  • WmsInstanceConfigurationOptions
  • WmsInstanceEntityHandler
  • WmsInstanceLayerEntityHandler
  • WmsLayerSourceEntityHandler
  • WmsMetadata
  • WmsSourceEntityHandler

Class WmsCapabilitiesParser

Class that Parses WMS GetCapabilies Document Parses WMS GetCapabilities documents

Direct known subclasses

Mapbender\WmsBundle\Component\WmsCapabilitiesParser111, Mapbender\WmsBundle\Component\WmsCapabilitiesParser130

Abstract
Namespace: Mapbender\WmsBundle\Component
Author: Karim Malhas
Author: Paul Schmidt
Located at Mapbender/WmsBundle/Component/WmsCapabilitiesParser.php

Methods summary

public
# __construct( DOMDocument $doc )

Creates an instance

Creates an instance

Parameters

$doc
protected
# setReslolution( integer $resolution )

Sets the resolution

Sets the resolution

Parameters

$resolution
protected string
# getValue( string $xpath, DOMNode $contextElm = null )

Finds the value

Finds the value

Parameters

$xpath
xpath expression
$contextElm
the node to use as context for evaluating the XPath expression.

Returns

string
the value of item or the selected item or null
abstract public
# parse( )

Parses the capabilities document

Parses the capabilities document

public static DOMDocument
# createDocument( string $data, boolean $validate = false )

Creates a document

Creates a document

Parameters

$data
the string containing the XML
$validate
to validate of xml

Returns

DOMDocument
a GetCapabilites document

Throws

Mapbender\CoreBundle\Component\Exception\XmlParseException
if a GetCapabilities xml is not valid
Mapbender\WmsBundle\Component\Exception\WmsException
if an service exception
Mapbender\CoreBundle\Component\Exception\NotSupportedVersionException
if a service version is not supported
public static
# getSchemas( DOMDocument $doc )
public static
# validate( DOMDocument $doc )
public static Mapbender\WmsBundle\Component\WmsCapabilitiesParser111
# getParser( DOMDocument $doc )

Gets a capabilities parser

Gets a capabilities parser

Parameters

$doc
the GetCapabilities document

Returns

Mapbender\WmsBundle\Component\WmsCapabilitiesParser111
| WmsCapabilitiesParser130 a capabilities parser

Throws

Mapbender\CoreBundle\Component\Exception\NotSupportedVersionException
if a service version is not supported

Magic methods summary

Properties summary

protected DOMDocument $doc

The XML representation of the Capabilites Document

The XML representation of the Capabilites Document

#
protected mixed $xpath

An Xpath-instance

An Xpath-instance

#
protected integer $resolution

The resolution

The resolution

#72
Mapbender 3.0.6.2 API documenation API documentation generated by ApiGen 2.8.0