Package com.isode.dsapi.aci
Class SimpleACIArea.Chop
java.lang.Object
com.isode.dsapi.aci.SimpleACIArea.Chop
- All Implemented Interfaces:
Comparable<SimpleACIArea.Chop>
- Enclosing class:
- SimpleACIArea
Chop-point within a Region. This is an immutable object.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Comparison, ordered by DN then before/after.void
dumpXML
(com.isode.util.XMLOutput out) Dump the chop-point out to the given XMLOutput stream.boolean
Equality test.int
hashCode()
Hash code.static SimpleACIArea.Chop
loadXML
(com.isode.util.XMLInput in) Try to load up a Chop from XML.Relocate a chop-point, or return 'this' if the chop is unaffected by the relocation.toString()
Return debug string.
-
Field Details
-
dn
Chop DN. -
after
public final boolean afterChop before ('false'), or chop after ('true')
-
-
Constructor Details
-
Chop
Construct a chop point.
-
-
Method Details
-
relocate
Relocate a chop-point, or return 'this' if the chop is unaffected by the relocation. -
dumpXML
Dump the chop-point out to the given XMLOutput stream.- Throws:
IOException
-
loadXML
Try to load up a Chop from XML. If not present or invalid, null is returned. -
toString
Return debug string. -
hashCode
public int hashCode()Hash code. -
compareTo
Comparison, ordered by DN then before/after.- Specified by:
compareTo
in interfaceComparable<SimpleACIArea.Chop>
-
equals
Equality test.
-