Skip navigation links

Oracle Containers for J2EE Security Java API Reference
10g Release 3 (10.1.3.1.0)

B32115-01


oracle.security.jazn.policy
Class PrincipalClassDesc

java.lang.Object
  extended byoracle.security.jazn.policy.PrincipalClassDesc


public class PrincipalClassDesc
extends java.lang.Object

This class defines the descriptor (meta-data) of a Principal class. <p/> NOTE: This interface is for Oracle-internal use only and is subject to change without notice.


Field Summary
static int TYPE_EXT
          External class type.
static int TYPE_JAZN
          JAZN class type.
static int TYPE_JDK
          JDK class type.
static int TYPE_ORCL
          Oracle class type.

 

Constructor Summary
PrincipalClassDesc(int type, oracle.security.jazn.util.ItemDesc classDesc, java.util.Collection nameDesc)
          Creates a new PrincipalClassDesc instance.
PrincipalClassDesc(int type, oracle.security.jazn.util.ItemDesc classDesc, oracle.security.jazn.util.NVPair[] nameDesc)
          Creates a new PrincipalClassDesc instance.

 

Method Summary
 oracle.security.jazn.util.ItemDesc getClassDesc()
          Returns the class descriptor
 java.util.Collection getNameDesc()
          Returns the name descriptor
 int getType()
          Returns the type of this Principal Class
 java.lang.String toString()
           
 void writeXML(int indentation, java.io.Writer writer)
          Serializes the content of this descriptor to the specified writer.
 void writeXML(java.io.Writer writer)
          Serializes the content of this descriptor to the specified writer.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

TYPE_JDK

public static final int TYPE_JDK
JDK class type.
See Also:
Constant Field Values

TYPE_JAZN

public static final int TYPE_JAZN
JAZN class type.
See Also:
Constant Field Values

TYPE_ORCL

public static final int TYPE_ORCL
Oracle class type.
See Also:
Constant Field Values

TYPE_EXT

public static final int TYPE_EXT
External class type.
See Also:
Constant Field Values

Constructor Detail

PrincipalClassDesc

public PrincipalClassDesc(int type,
                          oracle.security.jazn.util.ItemDesc classDesc,
                          oracle.security.jazn.util.NVPair[] nameDesc)
Creates a new PrincipalClassDesc instance.

PrincipalClassDesc

public PrincipalClassDesc(int type,
                          oracle.security.jazn.util.ItemDesc classDesc,
                          java.util.Collection nameDesc)
Creates a new PrincipalClassDesc instance.

Method Detail

getType

public int getType()
Returns the type of this Principal Class
Returns:
the type of this Principal Class

getClassDesc

public oracle.security.jazn.util.ItemDesc getClassDesc()
Returns the class descriptor
Returns:
the class descriptor

getNameDesc

public java.util.Collection getNameDesc()
Returns the name descriptor
Returns:
the name descriptor

writeXML

public void writeXML(java.io.Writer writer)
              throws java.io.IOException
Serializes the content of this descriptor to the specified writer.
Parameters:
writer - the specified writer
Throws:
java.io.IOException

writeXML

public void writeXML(int indentation,
                     java.io.Writer writer)
              throws java.io.IOException
Serializes the content of this descriptor to the specified writer.
Parameters:
indentation - the indentation level
writer - the specified writer
Throws:
java.io.IOException

toString

public java.lang.String toString()

Skip navigation links

Oracle Containers for J2EE Security Java API Reference
10g Release 3 (10.1.3.1.0)

B32115-01


Copyright © 2004, 2006, Oracle. All rights reserved.