Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

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<String,String> 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<String,String> nsMap, PrintStream ps)
           
protected  String escapeXML(String string)
          escape characters for XML.
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<String,String> 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<String,String> 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)

escapeXML

protected String escapeXML(String string)
escape characters for XML.

Parameters:
string -
Returns:
the escaped string

Copyright 1996, 2011, 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
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06