Class: XSDAttribute

ngeo.format.XSDAttribute

Reads attributes that are defined in XSD format and return them as a list.

Constructor

new XSDAttribute()

Extends

Methods

(static) getGeometryAttribute(attributes)

Returns the first geometry attribute among a given list of attributes.

Parameters:
Name Type Description
attributes Array.

The list of attributes.

Returns:
?ngeox.Attribute

A geometry attribute object.

read(source)

Parameters:
Name Type Description
source Document|Node|string

Source.

Returns:
Array.

The parsed result.

readFromDocument(doc)

Parameters:
Name Type Description
doc Document

Document.

Returns:
Array.

List of attributes.

readFromNode(node)

Parameters:
Name Type Description
node Node

Node.

Returns:
Array.

List of attributes.