For the latest news and information visit
The GNU Crypto project

gnu.crypto.pki
Class PolicyNodeImpl

java.lang.Object
  extended bygnu.crypto.pki.PolicyNodeImpl
All Implemented Interfaces:
PolicyNode

public final class PolicyNodeImpl
extends Object
implements PolicyNode


Constructor Summary
PolicyNodeImpl()
           
 
Method Summary
 void addAllExpectedPolicies(Set policies)
           
 void addAllPolicyQualifiers(Collection qualifiers)
           
 void addChild(PolicyNodeImpl node)
           
 void addExpectedPolicy(String policy)
           
 void addPolicyQualifier(PolicyQualifierInfo qualifier)
           
 Iterator getChildren()
           
 int getDepth()
           
 Set getExpectedPolicies()
           
 PolicyNode getParent()
           
 Set getPolicyQualifiers()
           
 String getValidPolicy()
           
 boolean isCritical()
           
 void setCritical(boolean critical)
           
 void setDepth(int depth)
           
 void setReadOnly()
           
 void setValidPolicy(String policy)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PolicyNodeImpl

public PolicyNodeImpl()
Method Detail

addChild

public void addChild(PolicyNodeImpl node)

getChildren

public Iterator getChildren()
Specified by:
getChildren in interface PolicyNode

getDepth

public int getDepth()
Specified by:
getDepth in interface PolicyNode

setDepth

public void setDepth(int depth)

addAllExpectedPolicies

public void addAllExpectedPolicies(Set policies)

addExpectedPolicy

public void addExpectedPolicy(String policy)

getExpectedPolicies

public Set getExpectedPolicies()
Specified by:
getExpectedPolicies in interface PolicyNode

getParent

public PolicyNode getParent()
Specified by:
getParent in interface PolicyNode

addAllPolicyQualifiers

public void addAllPolicyQualifiers(Collection qualifiers)

addPolicyQualifier

public void addPolicyQualifier(PolicyQualifierInfo qualifier)

getPolicyQualifiers

public Set getPolicyQualifiers()
Specified by:
getPolicyQualifiers in interface PolicyNode

getValidPolicy

public String getValidPolicy()
Specified by:
getValidPolicy in interface PolicyNode

setValidPolicy

public void setValidPolicy(String policy)

isCritical

public boolean isCritical()
Specified by:
isCritical in interface PolicyNode

setCritical

public void setCritical(boolean critical)

setReadOnly

public void setReadOnly()

toString

public String toString()

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.