public class ExactlyOne extends AbstractPolicyOperator
policyComponents| Constructor and Description |
|---|
ExactlyOne() |
ExactlyOne(PolicyOperator parent) |
| Modifier and Type | Method and Description |
|---|---|
short |
getType()
Returns Constants.TYPE_EXACTLYONE;
|
void |
serialize(javax.xml.stream.XMLStreamWriter writer)
Serializes the PolicyComponent using an XMLStreamWriter.
|
addPolicyComponent, addPolicyComponents, equal, getFirstPolicyComponent, getPolicyComponents, isEmpty, normalizepublic ExactlyOne()
public ExactlyOne(PolicyOperator parent)
public void serialize(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
PolicyComponentwriter - the writer that the component should write itselfjavax.xml.stream.XMLStreamException - if an errors in the process of serialization of the
PolicyComponent.public final short getType()
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.