Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


com.bea.common.security.xacml
Class SchemaObject

java.lang.Object
  extended by com.bea.common.security.xacml.SchemaObject

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PolicySchemaObject

public abstract class SchemaObject
extends Object
implements Serializable

Base class for XACML schema elements

See Also:
Serialized Form

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

 

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

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09