|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.ucsb.adl.reports.BucketReport
Parses and represents ADL bucket reports.
$Log: BucketReport.java,v $ Revision 1.1 2007/02/19 23:47:42 gjanee Initial revision
| Nested Class Summary | |
static class |
BucketReport.BoxSpatialValue
A box spatial value. |
static class |
BucketReport.DateTemporalValue
A date temporal value. |
static class |
BucketReport.Field
Identifies a source metadata field. |
static class |
BucketReport.HierarchicalValue
A hierarchical bucket value, i.e., a vocabulary term. |
static class |
BucketReport.IdentificationValue
An identification bucket value, i.e., an identifier drawn from a namespace. |
static class |
BucketReport.NumericValue
A numeric bucket value. |
static class |
BucketReport.PointSpatialValue
A point spatial value. |
static class |
BucketReport.PolygonSpatialValue
A polygon spatial value. |
static class |
BucketReport.PolylineSpatialValue
A polyline spatial value. |
static class |
BucketReport.RangeTemporalValue
A range temporal value. |
static class |
BucketReport.RelationalValue
A relational bucket value. |
static class |
BucketReport.SpatialValue
A spatial bucket value, i.e., a geographic region. |
static class |
BucketReport.TemporalValue
A temporal bucket value, i.e., a date or date range. |
static class |
BucketReport.TextualValue
A textual bucket value. |
static class |
BucketReport.Value
Abstract base class for bucket values. |
static class |
BucketReport.Vertex
A polygon or polyline vertex. |
| Field Summary | |
java.util.Hashtable |
buckets
The item's bucket mappings. |
java.lang.String |
identifier
The item's ADL identifier, e.g., " adl_catalog:1001652". |
| Constructor Summary | |
BucketReport(java.io.Reader reader)
Creates a BucketReport. |
|
| Method Summary | |
void |
characters(char[] string,
int start,
int length)
For use by ValidatingXmlParser only. |
void |
endElement(int elementCode)
For use by ValidatingXmlParser only. |
static void |
main(java.lang.String[] args)
|
void |
startElement(int elementCode,
java.lang.String[] attributes)
For use by ValidatingXmlParser only. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String identifier
adl_catalog:1001652".
public java.util.Hashtable buckets
adl:titles") to arrays of
Values.
| Constructor Detail |
public BucketReport(java.io.Reader reader)
throws XmlException
BucketReport.
reader - The source of the bucket report.
XmlException - If any error is encountered.| Method Detail |
public void startElement(int elementCode,
java.lang.String[] attributes)
throws XmlException
ValidatingXmlParser only.
startElement in interface XmlHandlerelementCode - The element's code.attributes - Element attribute values, indexed by attribute code. All of
the element's declared attributes are represented in the array;
attributes for which a value is specified in the document or
for which there is a DTD-specified default have
non-null values. The handler should reference the
array for the duration of the call only, as it is reused by the
parser. Also, the array may be longer than necessary.
XmlException - If any error occurs.
public void endElement(int elementCode)
throws XmlException
ValidatingXmlParser only.
endElement in interface XmlHandlerelementCode - The element's code.
XmlException - If any error occurs.
public void characters(char[] string,
int start,
int length)
ValidatingXmlParser only.
characters in interface XmlHandlerstring - The textual content.start - The index in string at which the textual content
starts.length - The length of the content.
public static void main(java.lang.String[] args)
throws java.io.IOException,
XmlException,
java.lang.IllegalAccessException
java.io.IOException
XmlException
java.lang.IllegalAccessException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||