public interface PolicyComponent
Modifier and Type | Method and Description |
---|---|
boolean |
equal(PolicyComponent policyComponent)
Returns true if the argument is equal to self.
|
short |
getType()
Returns a short value which uniquely identify the type of the
PolicyComponent.
|
void |
serialize(javax.xml.stream.XMLStreamWriter writer)
Serializes the PolicyComponent using an XMLStreamWriter.
|
void serialize(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
writer
- the writer that the component should write itselfjavax.xml.stream.XMLStreamException
- if an errors in the process of serialization of the
PolicyComponent.short getType()
boolean equal(PolicyComponent policyComponent)
policyComponent
- the PolicyComponent to check whether self is
logically equal or notCopyright © 2004–2013 The Apache Software Foundation. All rights reserved.