Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

com.bea.common.security.xacml.policy
Class AbstractPolicy

java.lang.Object
  extended by com.bea.common.security.xacml.SchemaObject
      extended by com.bea.common.security.xacml.policy.PolicySchemaObject
          extended by com.bea.common.security.xacml.policy.AbstractPolicy
All Implemented Interfaces:
PolicySetMember, Serializable
Direct Known Subclasses:
Policy, PolicySet

public abstract class AbstractPolicy
extends PolicySchemaObject
implements PolicySetMember

Base class for Policy and PolicySet

See Also:
Serialized Form

Field Summary
static String VERSION_DEFAULT
           
 
Fields inherited from class com.bea.common.security.xacml.policy.PolicySchemaObject
NAMESPACE, NAMESPACE_PREFIX
 
Method Summary
 void encodeAttributes(PrintStream ps)
           
protected  void encodeCombinerParameters(Map<String,String> nsMap, PrintStream ps)
           
protected  void encodeDescription(PrintStream ps)
           
protected  void encodeObligations(Map<String,String> nsMap, PrintStream ps)
           
protected  void encodeTarget(Map<String,String> nsMap, PrintStream ps)
           
 boolean equals(Object other)
           
 URI getCombiningAlgId()
          Returns rule or policy combining algorithm ID
protected abstract  String getCombiningName()
           
 String getDescription()
          Returns description
 URI getId()
          Returns policy or policy set ID
protected abstract  String getPolicyPrefix()
           
 String getVersion()
          Returns policy or policy set version
 int internalHashCode()
           
 
Methods inherited from class com.bea.common.security.xacml.policy.PolicySchemaObject
getDesiredNamespacePrefix, getNamespace
 
Methods inherited from class com.bea.common.security.xacml.SchemaObject
encode, encode, encodeBody, encodeChildren, escapeXML, getElementName, getLocalName, getPrintStream, hasBody, hasChildren, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

VERSION_DEFAULT

public static final String VERSION_DEFAULT
See Also:
Constant Field Values
Method Detail

getPolicyPrefix

protected abstract String getPolicyPrefix()

getCombiningName

protected abstract String getCombiningName()

encodeAttributes

public void encodeAttributes(PrintStream ps)
Overrides:
encodeAttributes in class SchemaObject

encodeDescription

protected void encodeDescription(PrintStream ps)

encodeTarget

protected void encodeTarget(Map<String,String> nsMap,
                            PrintStream ps)

encodeCombinerParameters

protected void encodeCombinerParameters(Map<String,String> nsMap,
                                        PrintStream ps)

encodeObligations

protected void encodeObligations(Map<String,String> nsMap,
                                 PrintStream ps)

equals

public boolean equals(Object other)
Overrides:
equals in class Object

internalHashCode

public int internalHashCode()
Specified by:
internalHashCode in class SchemaObject

getDescription

public String getDescription()
Returns description

Returns:
Description

getId

public URI getId()
Returns policy or policy set ID

Returns:
ID

getVersion

public String getVersion()
Returns policy or policy set version

Returns:
Version

getCombiningAlgId

public URI getCombiningAlgId()
Returns rule or policy combining algorithm ID

Returns:
Combining algorithm ID

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