public class PolicyContainingPrimitiveAssertion extends PrimitiveAssertion implements PolicyContainingAssertion
| Modifier and Type | Field and Description |
|---|---|
protected Policy |
nested |
attributes, ignorable, name, optional, textValue| Constructor and Description |
|---|
PolicyContainingPrimitiveAssertion(QName name,
boolean optional,
boolean ignorable,
Map<QName,String> atts,
Policy p) |
PolicyContainingPrimitiveAssertion(QName name,
boolean optional,
boolean ignorable,
Policy p) |
| Modifier and Type | Method and Description |
|---|---|
protected Assertion |
clone(boolean optional,
Policy n) |
boolean |
equal(PolicyComponent policyComponent)
Returns true if the argument is equal to self.
|
boolean |
equals(Object obj) |
Policy |
getPolicy() |
protected boolean |
hasContents() |
PolicyComponent |
normalize()
Returns a new PolicyComponent that is the normalized version of this.
|
void |
setPolicy(Policy n) |
protected void |
writeContents(XMLStreamWriter writer) |
addAttribute, addAttributes, clone, getAttribute, getAttributes, getName, getOrCreatePrefix, getTextValue, getType, hashCode, isIgnorable, isOptional, serialize, setIgnorable, setName, setOptional, setTextValue, toString, writeAttributesclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetName, isIgnorable, isOptional, serializegetTypeprotected Policy nested
public PolicyContainingPrimitiveAssertion(QName name, boolean optional, boolean ignorable, Policy p)
public PolicyComponent normalize()
Assertionnormalize in interface Assertionnormalize in class PrimitiveAssertionpublic boolean equal(PolicyComponent policyComponent)
PolicyComponentequal in interface PolicyComponentequal in class PrimitiveAssertionpolicyComponent - the PolicyComponent to check whether self is
logically equal or notpublic boolean equals(Object obj)
equals in class PrimitiveAssertionpublic void setPolicy(Policy n)
public Policy getPolicy()
getPolicy in interface PolicyContainingAssertionprotected void writeContents(XMLStreamWriter writer) throws XMLStreamException
writeContents in class PrimitiveAssertionXMLStreamExceptionprotected boolean hasContents()
hasContents in class PrimitiveAssertionCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.