public class CompressionAssertion extends Object implements org.apache.neethi.Assertion
| Constructor and Description |
|---|
CompressionAssertion(Element element)
Instantiates a new compression assertion.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equal(org.apache.neethi.PolicyComponent policyComponent) |
QName |
getName() |
int |
getThreshold()
Gets the threshold.
|
short |
getType() |
boolean |
isIgnorable() |
boolean |
isOptional() |
org.apache.neethi.PolicyComponent |
normalize() |
void |
serialize(XMLStreamWriter writer) |
public CompressionAssertion(Element element)
element - the elementpublic short getType()
getType in interface org.apache.neethi.PolicyComponentpublic boolean equal(org.apache.neethi.PolicyComponent policyComponent)
equal in interface org.apache.neethi.PolicyComponentpublic QName getName()
getName in interface org.apache.neethi.Assertionpublic boolean isOptional()
isOptional in interface org.apache.neethi.Assertionpublic boolean isIgnorable()
isIgnorable in interface org.apache.neethi.Assertionpublic void serialize(XMLStreamWriter writer) throws XMLStreamException
serialize in interface org.apache.neethi.Assertionserialize in interface org.apache.neethi.PolicyComponentXMLStreamExceptionpublic org.apache.neethi.PolicyComponent normalize()
normalize in interface org.apache.neethi.Assertionpublic int getThreshold()
Copyright © 2011–2021 Talend Inc.. All rights reserved.