BEA Systems, Inc.

com.bea.common.security.xacml
Class SchemaObject

java.lang.Object
  extended by com.bea.common.security.xacml.SchemaObject
All Implemented Interfaces:
Serializable

public abstract class SchemaObject
extends Object
implements Serializable

Base class for XACML schema elements

See Also:
Serialized Form

Constructor Summary
SchemaObject()
           
 
Method Summary
 void encode(Map nsMap, OutputStream out)
          Writes schema object to the output stream
 void encode(OutputStream out)
           
 void encodeAttributes(PrintStream ps)
           
 void encodeBody(PrintStream ps)
           
 void encodeChildren(Map nsMap, PrintStream ps)
           
abstract  String getDesiredNamespacePrefix()
           
abstract  String getElementName()
           
protected  String getLocalName(Node node)
           
abstract  String getNamespace()
           
protected  PrintStream getPrintStream(OutputStream out)
           
 boolean hasBody()
           
 boolean hasChildren()
           
 int hashCode()
           
abstract  int internalHashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SchemaObject

public SchemaObject()
Method Detail

encode

public void encode(OutputStream out)

encode

public void encode(Map nsMap,
                   OutputStream out)
Writes schema object to the output stream

Parameters:
nsMap - map from namespaces to namespace prefixes
out - Output stream

getElementName

public abstract String getElementName()

encodeAttributes

public void encodeAttributes(PrintStream ps)

hasChildren

public boolean hasChildren()

encodeChildren

public void encodeChildren(Map nsMap,
                           PrintStream ps)

hasBody

public boolean hasBody()

encodeBody

public void encodeBody(PrintStream ps)

getNamespace

public abstract String getNamespace()

getDesiredNamespacePrefix

public abstract String getDesiredNamespacePrefix()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

internalHashCode

public abstract int internalHashCode()

getPrintStream

protected PrintStream getPrintStream(OutputStream out)

toString

public String toString()
Overrides:
toString in class Object

getLocalName

protected String getLocalName(Node node)

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs100
Copyright 2006 BEA Systems Inc.