| java.lang.Object com.nwalsh.saxon.Callout
Callout | public class Callout implements Comparable(Code) | | A class for maintaining information about callouts.
To make processing callouts easier, they are parsed out of the
input structure and stored in a sorted array. (The array is sorted
according to the order in which the callouts occur.)
This class is just the little record
that we store in the array for each callout.
|
Constructor Summary | |
public | Callout(int callout, Element area, int line, int col) The constructor; initialize the private data structures. |
Callout | public Callout(int callout, Element area, int line, int col)(Code) | | The constructor; initialize the private data structures.
|
compareTo | public int compareTo(Object o)(Code) | | The compareTo method compares this Callout with another.
Given two Callouts, A and B, A < B if:
- A.line < B.line, or
- A.line = B.line && A.col < B.col, or
- A.line = B.line && A.col = B.col && A.callout < B.callout
- Otherwise, they're equal.
|
getCallout | public int getCallout()(Code) | | Access the Callout's callout number.
|
getColumn | public int getColumn()(Code) | | Access the Callout's column.
|
getLine | public int getLine()(Code) | | Access the Callout's line.
|
|
|