Save This Page
Home » neethi-2.0.4-src » org.apache » neethi » [javadoc | source]
org.apache.neethi
public class: PolicyReference [javadoc | source]
java.lang.Object
   org.apache.neethi.PolicyReference

All Implemented Interfaces:
    PolicyComponent

PolicyReference is a wrapper that holds explict PolicyReferences.
Method from org.apache.neethi.PolicyReference Summary:
equal,   getRemoteReferedElement,   getRemoteReferencedPolicy,   getType,   getURI,   normalize,   normalize,   serialize,   setURI
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.neethi.PolicyReference Detail:
 public boolean equal(PolicyComponent policyComponent) 
 public OMElement getRemoteReferedElement(String uri) 
 public Policy getRemoteReferencedPolicy(String uri) 
 public short getType() 
    Returns short value of Constants.TYPE_POLICY_REF
 public String getURI() 
    Gets the Policy URI that is refered by self.
 public PolicyComponent normalize() 
    Throws an UnsupportedOperationException since PolicyReference.normalize() can't resolve the Policy that it refers to unless a PolicyRegistry is provided.
 public PolicyComponent normalize(PolicyRegistry reg,
    boolean deep) 
    Returns normalized version of the Policy that is refered by self. The specified PolicyRegistry is used to lookup for the Policy that is refered and dee indicates the level of normalization fo the returning Policy.
 public  void serialize(XMLStreamWriter writer) throws XMLStreamException 
 public  void setURI(String uri) 
    Sets the Policy URI