org.openxri.xml
Class ContactService

java.lang.Object
  extended by org.openxri.xml.Service
      extended by org.openxri.xml.ContactService
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class ContactService
extends Service

This is a Contact Service as described by "Contact Service v1.0 Working Draft 05, 7 September 2006 All constructors produce a service endpoint that conforms to the specification. It is currently not in the scope of OpenXRI to implement the actual contact page for this service. The RECOMMENDED third-level DNS name for hosting a Contact Service is 'contact', e.g. 'contact.my-i-broker.com'

Author:
=peacekeeper
See Also:
Serialized Form

Field Summary
static java.lang.String CONTACT_PATH
           
static java.lang.String SERVICE_TYPE
           
 
Constructor Summary
ContactService(java.net.URI contactPage)
           
ContactService(java.net.URI[] contactPages)
           
ContactService(java.net.URI[] contactPages, java.lang.String providerID)
           
ContactService(java.net.URI[] contactPages, java.lang.String providerID, boolean makeDefault)
          Constructs a new Contact Service endpoint for use in an authority.
ContactService(java.net.URI contactPage, java.lang.String providerID)
           
ContactService(java.net.URI contactPage, java.lang.String providerID, boolean makeDefault)
           
 
Method Summary
static boolean isInstance(Service service)
           
 
Methods inherited from class org.openxri.xml.Service
addLocalID, addMediaType, addMediaType, addMediaType, addPath, addPath, addPath, addRedirect, addRef, addType, addType, addType, addURI, addURI, addURI, clone, dump, equals, fromDOM, getExtension, getKeyInfo, getLocalIDAt, getMediaType, getMediaTypeAt, getMediaTypes, getNumLocalIDs, getNumMediaTypes, getNumPaths, getNumRedirects, getNumRefs, getNumTypes, getNumURIs, getOtherChildrenVectorMap, getOtherTagValues, getPathAt, getPaths, getPrioritizedRedirects, getPrioritizedRefs, getPrioritizedURIs, getPriority, getProviderId, getRedirectAt, getRedirects, getRefAt, getRefs, getType, getTypeAt, getTypes, getURI, getURIAt, getURIForScheme, getURIs, matchType, reset, setExtension, setKeyInfo, setMediaType, setMediaTypes, setOtherTagValues, setPaths, setPrioritizedURIs, setPriority, setPriority, setProviderId, setType, setTypes, setURIs, toDOM, toDOM, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SERVICE_TYPE

public static final java.lang.String SERVICE_TYPE
See Also:
Constant Field Values

CONTACT_PATH

public static final java.lang.String CONTACT_PATH
See Also:
Constant Field Values
Constructor Detail

ContactService

public ContactService(java.net.URI[] contactPages,
                      java.lang.String providerID,
                      boolean makeDefault)
Constructs a new Contact Service endpoint for use in an authority.

Parameters:
contactPages - - The URI(s) where a contact page is implemented.
providerID - - The global i-number of the I-Broker providing this Contact Service.
makeDefault - - Whether to make the Contact Service the default service.

ContactService

public ContactService(java.net.URI contactPage,
                      java.lang.String providerID,
                      boolean makeDefault)

ContactService

public ContactService(java.net.URI[] contactPages,
                      java.lang.String providerID)

ContactService

public ContactService(java.net.URI contactPage,
                      java.lang.String providerID)

ContactService

public ContactService(java.net.URI[] contactPages)

ContactService

public ContactService(java.net.URI contactPage)
Method Detail

isInstance

public static boolean isInstance(Service service)


Copyright © 2005-2012. All Rights Reserved.