| 
 | Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.wsee.policy.framework.PolicyExpression
weblogic.wsee.policy.framework.PolicyStatement
public class PolicyStatement
Represents a policy statement, which is a unit of policy that in compact form consists of the element <wsp:Policy> ... </wsp:Policy> and its contents.
The contents of a policy statement are a sequence of policy expressions which are implicitly ALL'ed together.
| Field Summary | |
|---|---|
| protected  String | idDeprecated. | 
| Fields inherited from class weblogic.wsee.policy.framework.PolicyExpression | 
|---|
| assertion, expressions, operator, policyNamespaceUri | 
| Constructor Summary | |
|---|---|
|   | PolicyStatement()Deprecated. | 
| protected  | PolicyStatement(String id)Deprecated. | 
|   | PolicyStatement(String id,
                String policyNamespaceUri)Deprecated. | 
| Method Summary | |
|---|---|
| static PolicyStatement | createPolicyStatement(String id)Deprecated. Factory method to create a PolicyStatement instance. | 
|  boolean | equals(Object anObject)Deprecated. | 
|  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(ObjectInput in)Deprecated. implement readExternal() of Externalizable interface | 
|  void | setHasUnresolvedReferences(boolean hasUnresolvedReferences)Deprecated. | 
|  void | setId(String id)Deprecated. Set the value of the Id attribute which is used as a fragment identifier when referencing a policy statement by URI | 
|  String | toString()Deprecated. | 
|  Element | toXML()Deprecated. | 
|  Element | toXML(Document doc)Deprecated. Serialize the policy statement into an XML representation | 
|  void | write(Element parent,
      WsdlWriter wsdlWriter)Deprecated. Write the statement to wsdl | 
|  void | writeExternal(ObjectOutput out)Deprecated. implement writeExternal() of Externalizable interface | 
| Methods inherited from class weblogic.wsee.policy.framework.PolicyExpression | 
|---|
| addExpression, addExpressions, createExpression, createTerminal, getAssertion, getExpressions, getPolicyNamespaceUri, isTerminal, normalize, resetExpressions, setAssertion, setPolicyNamespaceUri | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
protected String id
| Constructor Detail | 
|---|
public PolicyStatement()
protected PolicyStatement(String id)
public PolicyStatement(String id,
                       String policyNamespaceUri)
| Method Detail | 
|---|
public String getId()
public void setId(String id)
id - the Id to be usedpublic boolean isHasUnresolvedReferences()
public void setHasUnresolvedReferences(boolean hasUnresolvedReferences)
public static PolicyStatement createPolicyStatement(String id)
public Element toXML(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 DOM
public void write(Element parent,
                  WsdlWriter wsdlWriter)
write in class PolicyExpressionparent - wsdlWriter - 
public Element toXML()
              throws PolicyException
PolicyExceptionpublic String toString()
toString in class PolicyExpression
public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class PolicyExpressionin - 
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
                   throws IOException
writeExternal in interface ExternalizablewriteExternal in class PolicyExpressionout - 
IOExceptionpublic boolean equals(Object anObject)
equals in class Objectpublic int hashCode()
hashCode in class Object| 
 | Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||