Interface

class pyvo.io.vosi.voresource.Interface(config=None, pos=None, _name='interface', version='1.0', role=None, **kwargs)[source]

Bases: pyvo.utils.xml.elements.Element

Interface element as described in http://www.ivoa.net/xml/VOResource/v1.0

A description of a service interface.

Since this type is abstract, one must use an Interface subclassto describe an actual interface.

Additional interface subtypes (beyond WebService and WebBrowser) are defined in the VODataService schema.

Attributes Summary

accessurls(fget) A list of access urls in the interface.
resulttype(fget)
role(fget)
securitymethods(fget) the mechanism the client must employ to gain secure access to the service.
version(fget)

Methods Summary

describe(self) Prints out a human readable description
register_xsi_type(typename) Decorator factory for registering subtypes

Attributes Documentation

accessurls(fget)

A list of access urls in the interface. Must contain only AccessURL objects.

resulttype(fget)
role(fget)
securitymethods(fget)

the mechanism the client must employ to gain secure access to the service.

when more than one method is listed, each one must be employed to gain access.

version(fget)

Methods Documentation

describe(self)[source]

Prints out a human readable description

classmethod register_xsi_type(typename)[source]

Decorator factory for registering subtypes