java.io.Serializable
PolicySchemaObject
public abstract class SchemaObject
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method | Description |
---|---|---|
void |
encode(java.io.OutputStream out) |
|
void |
encode(java.util.Map<java.lang.String,java.lang.String> nsMap,
java.io.OutputStream out) |
Writes schema object to the output stream
|
void |
encodeAttributes(java.io.PrintStream ps) |
|
void |
encodeBody(java.io.PrintStream ps) |
|
void |
encodeChildren(java.util.Map<java.lang.String,java.lang.String> nsMap,
java.io.PrintStream ps) |
|
protected java.lang.String |
escapeXML(java.lang.String string) |
escape characters for XML.
|
abstract java.lang.String |
getDesiredNamespacePrefix() |
|
abstract java.lang.String |
getElementName() |
|
protected java.lang.String |
getLocalName(org.w3c.dom.Node node) |
|
abstract java.lang.String |
getNamespace() |
|
protected java.io.PrintStream |
getPrintStream(java.io.OutputStream out) |
|
boolean |
hasBody() |
|
boolean |
hasChildren() |
|
int |
hashCode() |
|
abstract int |
internalHashCode() |
|
java.lang.String |
toString() |
public void encode(java.io.OutputStream out)
public void encode(java.util.Map<java.lang.String,java.lang.String> nsMap, java.io.OutputStream out)
nsMap
- map from namespaces to namespace prefixesout
- Output streampublic abstract java.lang.String getElementName()
public void encodeAttributes(java.io.PrintStream ps)
public boolean hasChildren()
public void encodeChildren(java.util.Map<java.lang.String,java.lang.String> nsMap, java.io.PrintStream ps)
public boolean hasBody()
public void encodeBody(java.io.PrintStream ps)
public abstract java.lang.String getNamespace()
public abstract java.lang.String getDesiredNamespacePrefix()
public int hashCode()
hashCode
in class java.lang.Object
public abstract int internalHashCode()
protected java.io.PrintStream getPrintStream(java.io.OutputStream out)
public java.lang.String toString()
toString
in class java.lang.Object
protected java.lang.String getLocalName(org.w3c.dom.Node node)
protected java.lang.String escapeXML(java.lang.String string)
string
-