Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-02


oracle.webservices.rm
Class WSRMProtocolVersion

java.lang.Object
  extended by oracle.webservices.rm.WSRMProtocolVersion


public final class WSRMProtocolVersion
extends Object

Type-safe enumeration for WS-RM protocol versions. Jun 11, 2007, 10:42:30 AM


Field Summary
static WSRMProtocolVersion WSRM_1_0
          WS-RM 1.0 protocol
static WSRMProtocolVersion WSRM_1_1
          WS-RM 1.1 protocol

 

Method Summary
static WSRMProtocolVersion get(String versionNamespaceURI)
          Get the version matching the specified namespace URI.
 String getNamespaceURI()
           
 String toSimpleVersionName()
           
 String toString()
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

WSRM_1_0

public static final WSRMProtocolVersion WSRM_1_0
WS-RM 1.0 protocol

WSRM_1_1

public static final WSRMProtocolVersion WSRM_1_1
WS-RM 1.1 protocol

Method Detail

get

public static WSRMProtocolVersion get(String versionNamespaceURI)
                               throws IllegalArgumentException
Get the version matching the specified namespace URI.
Parameters:
versionNamespaceURI - The WS-RM protocol version namespace URI
Returns:
A WSRMProtocolVersion instance representing the version.
Throws:
IllegalArgumentException - if the specified namespace URI is not recognized.

getNamespaceURI

public final String getNamespaceURI()
Returns:
The identifying namespace URI for the WS-RM protocol version.

toString

public final String toString()
Overrides:
toString in class Object
Returns:
A string representation of the object.

toSimpleVersionName

public final String toSimpleVersionName()
Returns:
a simplified version name for reporting purpose

Skip navigation links

Copyright © 2006, 2009 Oracle. All Rights Reserved.