public abstract class AttributeDesignator extends PolicySchemaObject implements Expression
Modifier and Type | Field and Description |
---|---|
private URI |
attributeId |
private URI |
dataType |
private java.lang.String |
issuer |
private boolean |
mustBePresent |
NAMESPACE, NAMESPACE_PREFIX
Modifier | Constructor and Description |
---|---|
protected |
AttributeDesignator(org.w3c.dom.Node root)
Parses AttributeDesignator from DOM node
|
|
AttributeDesignator(URI attributeId,
URI dataType,
boolean mustBePresent)
Constructs AttributeDesignator with the designated values
|
|
AttributeDesignator(URI attributeId,
URI dataType,
boolean mustBePresent,
java.lang.String issuer)
Constructs AttributeDesignator with the designated values
|
Modifier and Type | Method and Description |
---|---|
void |
encodeAttributes(java.io.PrintStream ps) |
boolean |
equals(java.lang.Object other) |
URI |
getAttributeId()
Returns Attribute ID
|
URI |
getDataType()
Returns XML data-type
|
protected abstract java.lang.String |
getDesignatorType() |
java.lang.String |
getElementName() |
java.lang.String |
getIssuer()
Returns issuer value
|
int |
internalHashCode() |
boolean |
isMustBePresent()
Returns must be present flag value
|
getDesiredNamespacePrefix, getNamespace
encode, encode, encodeBody, encodeChildren, escapeXML, getLocalName, getPrintStream, hasBody, hasChildren, hashCode, toString
private URI attributeId
private URI dataType
private java.lang.String issuer
private boolean mustBePresent
public AttributeDesignator(URI attributeId, URI dataType, boolean mustBePresent)
attributeId
- Attribute IDdataType
- XML data-typemustBePresent
- true, if attribute must be present in contextpublic AttributeDesignator(URI attributeId, URI dataType, boolean mustBePresent, java.lang.String issuer)
attributeId
- Attribute IDdataType
- XML data-typemustBePresent
- true, if attribute must be present in contextissuer
- Expected issuer valueprotected AttributeDesignator(org.w3c.dom.Node root) throws URISyntaxException
root
- DOM nodeURISyntaxException
- thrown if invaid URI encounteredprotected abstract java.lang.String getDesignatorType()
public java.lang.String getElementName()
getElementName
in class SchemaObject
public void encodeAttributes(java.io.PrintStream ps)
encodeAttributes
in class SchemaObject
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int internalHashCode()
internalHashCode
in class SchemaObject
public URI getAttributeId()
public URI getDataType()
public java.lang.String getIssuer()
public boolean isMustBePresent()