java.io.Externalizable, java.io.Serializablepublic class PolicyStatement extends PolicyExpression implements java.io.Externalizable
The contents of a policy statement are a sequence of policy expressions which are implicitly ALL'ed together.
| Modifier and Type | Field | Description | 
|---|---|---|
protected java.lang.String | 
id | 
 Deprecated. 
  | 
assertion, expressions, operator, policyNamespaceUri| Modifier | Constructor | Description | 
|---|---|---|
  | 
PolicyStatement() | 
 Deprecated. 
  | 
protected  | 
PolicyStatement(java.lang.String id) | 
 Deprecated. 
  | 
  | 
PolicyStatement(java.lang.String id,
               java.lang.String policyNamespaceUri) | 
 Deprecated. 
  | 
| Modifier and Type | Method | Description | 
|---|---|---|
static PolicyStatement | 
createPolicyStatement(java.lang.String id) | 
 Deprecated. 
Factory method to create a PolicyStatement instance. 
 | 
boolean | 
equals(java.lang.Object anObject) | 
 Deprecated. 
  | 
java.lang.String | 
getId() | 
 Deprecated. 
Return the value of the Id attribute which is used as a fragment identifier when referencing a policy by URI 
 | 
int | 
hashCode() | 
 Deprecated. 
  | 
boolean | 
isHasUnresolvedReferences() | 
 Deprecated. 
  | 
void | 
readExternal(java.io.ObjectInput in) | 
 Deprecated. 
implement readExternal() of Externalizable interface 
 | 
void | 
setHasUnresolvedReferences(boolean hasUnresolvedReferences) | 
 Deprecated. 
  | 
void | 
setId(java.lang.String id) | 
 Deprecated. 
Set the value of the Id attribute which is used as a fragment identifier when referencing a policy statement by URI 
 | 
java.lang.String | 
toString() | 
 Deprecated. 
  | 
org.w3c.dom.Element | 
toXML() | 
 Deprecated. 
  | 
org.w3c.dom.Element | 
toXML(org.w3c.dom.Document doc) | 
 Deprecated. 
Serialize the policy statement into an XML representation 
 | 
void | 
write(org.w3c.dom.Element parent,
     WsdlWriter wsdlWriter) | 
 Deprecated. 
Write the statement to wsdl 
 | 
void | 
writeExternal(java.io.ObjectOutput out) | 
 Deprecated. 
implement writeExternal() of Externalizable interface 
 | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitaddExpression, addExpressions, createExpression, createTerminal, getAssertion, getExpressions, getPolicyNamespaceUri, isTerminal, normalize, resetExpressions, setAssertion, setPolicyNamespaceUripublic PolicyStatement()
protected PolicyStatement(java.lang.String id)
public PolicyStatement(java.lang.String id,
                       java.lang.String policyNamespaceUri)
public java.lang.String getId()
public void setId(java.lang.String id)
id - the Id to be usedpublic boolean isHasUnresolvedReferences()
public void setHasUnresolvedReferences(boolean hasUnresolvedReferences)
public static PolicyStatement createPolicyStatement(java.lang.String id)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
                          throws PolicyException
toXML in class PolicyExpressiondoc - The DOM Document node with which the XML is associated.PolicyException - if there was a problem serializing to DOMpublic void write(org.w3c.dom.Element parent,
                  WsdlWriter wsdlWriter)
write in class PolicyExpressionparent - wsdlWriter - public org.w3c.dom.Element toXML()
                          throws PolicyException
PolicyExceptionpublic java.lang.String toString()
toString in class PolicyExpressionpublic void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class PolicyExpressionin - java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class PolicyExpressionout - java.io.IOExceptionpublic boolean equals(java.lang.Object anObject)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object