|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object weblogic.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 |
id
|
Fields inherited from class weblogic.wsee.policy.framework.PolicyExpression |
---|
assertion, expressions, operator, policyNamespaceUri |
Constructor Summary | |
---|---|
|
PolicyStatement()
|
protected |
PolicyStatement(String id)
|
|
PolicyStatement(String id,
String policyNamespaceUri)
|
Method Summary | |
---|---|
static PolicyStatement |
createPolicyStatement(String id)
Factory method to create a PolicyStatement instance. |
boolean |
equals(Object anObject)
|
String |
getId()
Return the value of the Id attribute which is used as a fragment identifier when referencing a policy by URI |
void |
readExternal(ObjectInput in)
implement readExternal() of Externalizable interface |
void |
setId(String id)
Set the value of the Id attribute which is used as a fragment identifier when referencing a policy statement by URI |
String |
toString()
|
Element |
toXML()
|
Element |
toXML(Document doc)
Serialize the policy statement into an XML representation |
void |
write(Element parent,
WsdlWriter wsdlWriter)
Write the statement to wsdl |
void |
writeExternal(ObjectOutput out)
implement writeExternal() of Externalizable interface |
Methods inherited from class weblogic.wsee.policy.framework.PolicyExpression |
---|
addExpression, addExpressions, createExpression, createTerminal, getAssertion, getExpressions, getPolicyNamespaceUri, normalize, resetExpressions, setAssertion, setPolicyNamespaceUri |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, 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 static PolicyStatement createPolicyStatement(String id)
public Element toXML(Document doc) throws PolicyException
toXML
in class PolicyExpression
doc
- The DOM Document node with which the XML is associated.
PolicyException
- if there was a problem serializing to DOMpublic void write(Element parent, WsdlWriter wsdlWriter)
write
in class PolicyExpression
parent
- wsdlWriter
- public Element toXML() throws PolicyException
PolicyException
public String toString()
toString
in class PolicyExpression
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class PolicyExpression
in
-
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class PolicyExpression
out
-
IOException
public boolean equals(Object anObject)
equals
in class Object
|
Copyright 1996, 2013, 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.2) Part Number E27170-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |