com.bea.common.security.xacml
Class SchemaObject
java.lang.Object
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
SchemaObject
public SchemaObject()
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 prefixesout
- 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)