com.sun.xml.ws.policy.jaxws
Class SafePolicyReader.PolicyRecord

java.lang.Object
  extended by com.sun.xml.ws.policy.jaxws.SafePolicyReader.PolicyRecord
Enclosing class:
SafePolicyReader

public final class SafePolicyReader.PolicyRecord
extends Object


Method Summary
 String getUri()
           
 void setUri(String uri, String id)
          Set the URI that identifies the policy.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

setUri

public void setUri(String uri,
                   String id)
            throws PolicyException
Set the URI that identifies the policy.

Parameters:
uri - The fully qualified URI of the policy. May be a relative URI if JAX-WS did not pass on any system id.
id - The short ID of the policy. Used for error reporting.
Throws:
PolicyException - If there already is a policy recorded with the same id.

getUri

public String getUri()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.