|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.nwalsh.saxon.Callout
Utility class for the Verbatim extension (ignore this).
$Id: Callout.java,v 1.6 2000/11/15 00:30:52 ndw Exp $
Copyright (C) 2000 Norman Walsh.
This class is just for book keeping in the Verbatim class. It stores information about the location of callouts.
Only line/column based callouts are supported. This class implements the Comparable interface so that callouts can be sorted. Callouts are sorted so that they occur in left-to-right, top-to-bottom order based on line/column.
Change Log:
Initial release.
Verbatim
Constructor Summary | |
Callout(int callout,
com.icl.saxon.om.ElementInfo area,
int line,
int col)
The constructor; initialize the private data structures. |
Method Summary | |
int |
compareTo(java.lang.Object o)
The compareTo method compares this Callout with another. |
com.icl.saxon.om.ElementInfo |
getArea()
Access the Callout's area. |
int |
getCallout()
Access the Callout's callout number. |
int |
getColumn()
Access the Callout's column. |
int |
getLine()
Access the Callout's line. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Callout(int callout, com.icl.saxon.om.ElementInfo area, int line, int col)
Method Detail |
public int compareTo(java.lang.Object o)
The compareTo method compares this Callout with another.
Given two Callouts, A and B, A < B if:
public com.icl.saxon.om.ElementInfo getArea()
public int getLine()
public int getColumn()
public int getCallout()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |