Package org.ivoa.dm.regtap
Class Interface.InterfaceBuilder
java.lang.Object
org.ivoa.dm.regtap.Interface.InterfaceBuilder
- Enclosing class:
- Interface
A builder class for Interface, mainly for use in the functional builder pattern.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe URL at which the interface is found.A flag for whether an interface is available for anonymous use (=0) or only authenticated clients are served (=1).The index of the parent capability.An arbitrary identifier for the interfaces of a resource.An identifier for the role the interface plays in the particular capability.The type of the interface (vr:webbrowser, vs:paramhttp, etc).Secondary access URLs of this interface, separated by hash characters.Hash-joined list of expected HTTP method (get or post) supported by the service.The MIME type of a document returned in the HTTP response.The version of a standard interface specification that this interface complies with.A flag indicating whether this should be interpreted as a base URL ('base'), a full URL ('full'), or a URL to a directory that will produce a listing of files ('dir').The location of the WSDL that describes this Web Service. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
cap_index
The index of the parent capability. -
intf_index
An arbitrary identifier for the interfaces of a resource. -
intf_type
The type of the interface (vr:webbrowser, vs:paramhttp, etc). -
intf_role
An identifier for the role the interface plays in the particular capability. If the value is equal to 'std' or begins with 'std:', then the interface refers to a standard interface defined by the standard referred to by the capability's standardID attribute. -
std_version
The version of a standard interface specification that this interface complies with. When the interface is provided in the context of a Capability element, then the standard being refered to is the one identified by the Capability's standardID element. -
query_type
Hash-joined list of expected HTTP method (get or post) supported by the service. -
result_type
The MIME type of a document returned in the HTTP response. -
wsdl_url
The location of the WSDL that describes this Web Service. If NULL, the location can be assumed to be the accessURL with '?wsdl' appended. -
url_use
A flag indicating whether this should be interpreted as a base URL ('base'), a full URL ('full'), or a URL to a directory that will produce a listing of files ('dir'). -
access_url
The URL at which the interface is found. -
mirror_url
Secondary access URLs of this interface, separated by hash characters. -
authenticated_only
A flag for whether an interface is available for anonymous use (=0) or only authenticated clients are served (=1).
-
-
Constructor Details
-
InterfaceBuilder
public InterfaceBuilder()
-
-
Method Details
-
create
create a Interface from this builder.- Returns:
- an object initialized from the builder.
-