public abstract class AbstractPolicy extends PolicySchemaObject implements PolicySetMember
Modifier and Type | Field and Description |
---|---|
static String |
VERSION_DEFAULT |
NAMESPACE, NAMESPACE_PREFIX
Modifier and Type | Method and Description |
---|---|
void |
encodeAttributes(PrintStream ps) |
protected void |
encodeCombinerParameters(Map<String,String> nsMap,
PrintStream ps) |
protected void |
encodeDescription(PrintStream ps) |
protected void |
encodeObligations(Map<String,String> nsMap,
PrintStream ps) |
protected void |
encodeTarget(Map<String,String> nsMap,
PrintStream ps) |
boolean |
equals(Object other) |
URI |
getCombiningAlgId()
Returns rule or policy combining algorithm ID
|
protected abstract String |
getCombiningName() |
String |
getDescription()
Returns description
|
URI |
getId()
Returns policy or policy set ID
|
protected abstract String |
getPolicyPrefix() |
String |
getVersion()
Returns policy or policy set version
|
int |
internalHashCode() |
getDesiredNamespacePrefix, getNamespace
encode, encode, encodeBody, encodeChildren, escapeXML, getElementName, getLocalName, getPrintStream, hasBody, hasChildren, hashCode, toString
public static final String VERSION_DEFAULT
protected abstract String getPolicyPrefix()
protected abstract String getCombiningName()
public void encodeAttributes(PrintStream ps)
encodeAttributes
in class SchemaObject
protected void encodeDescription(PrintStream ps)
protected void encodeTarget(Map<String,String> nsMap, PrintStream ps)
protected void encodeCombinerParameters(Map<String,String> nsMap, PrintStream ps)
protected void encodeObligations(Map<String,String> nsMap, PrintStream ps)
public int internalHashCode()
internalHashCode
in class SchemaObject
public String getDescription()
public URI getId()
public String getVersion()
public URI getCombiningAlgId()