java.lang.Object | |
↳ | org.apache.commons.betwixt.strategy.ValueSuppressionStrategy |
Determines whether the expression of an attribute with a values should be suppressed.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ALLOW_ALL_VALUES | Strategy allows all values to be expressed for all attributes | ||||||||||
DEFAULT | Default strategy is SUPPRESS_EMPTY . |
||||||||||
SUPPRESS_EMPTY | Suppresses all null values. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Should the given attribute value be suppressed?
| |||||||||||
Should be given element value be suppressed? Note: to preserve binary compatibility, this method contains an implementation that returns false. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Strategy allows all values to be expressed for all attributes
Should the given attribute value be suppressed?
attributeDescriptor | AttributeDescriptor describing the attribute, not null |
---|---|
value | Object value, possibly null |
Should be given element value be suppressed?
Note: to preserve binary compatibility, this method contains an implementation that returns false. Subclasses should not rely upon this behaviour as (in future) this may be made abstract.
element | ElementDescriptor describing the element, not null |
---|---|
namespaceUri | the namespace of the element to be written |
localName | the local name of the element to be written |
qualifiedName | the qualified name of the element to be written |
value | Object value, possibly null |