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 java.lang.Object


Method Summary
 java.lang.String getUri()
           
 void setUri(java.lang.String uri, java.lang.String id)
          Set the URI that identifies the policy.
 java.lang.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(java.lang.String uri,
                   java.lang.String id)
            throws com.sun.xml.ws.policy.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:
com.sun.xml.ws.policy.PolicyException - If there already is a policy recorded with the same id.

getUri

public java.lang.String getUri()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.