|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nwalsh.xalan.Callout
public class Callout
Utility class for the Verbatim extension (ignore this).
$Id: Callout.java,v 1.1 2001/04/02 13:03:45 nwalsh 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
Field Summary | |
---|---|
static int |
CALS_PAIR
|
static int |
LINE_COLUMN
|
static int |
LINE_COLUMN_PAIR
|
static int |
LINE_RANGE
|
static int |
OTHER
|
Constructor Summary | |
---|---|
Callout(int callout,
org.w3c.dom.Element area,
int line,
int col,
int type)
The constructor; initialize the private data structures. |
|
Callout(int callout,
org.w3c.dom.Element area,
int line,
int col,
java.lang.String otherType)
The constructor; initialize the private data structures. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
The compareTo method compares this Callout with another. |
org.w3c.dom.Element |
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. |
java.lang.String |
getOtherType()
Access the Callout's otherType. |
int |
getType()
Access the Callout's type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CALS_PAIR
public static final int LINE_COLUMN
public static final int LINE_COLUMN_PAIR
public static final int LINE_RANGE
public static final int OTHER
Constructor Detail |
---|
public Callout(int callout, org.w3c.dom.Element area, int line, int col, int type)
public Callout(int callout, org.w3c.dom.Element area, int line, int col, java.lang.String otherType)
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:
compareTo
in interface java.lang.Comparable
public org.w3c.dom.Element getArea()
public int getLine()
public int getColumn()
public int getCallout()
public int getType()
public java.lang.String getOtherType()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |