|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.vfny.geoserver.zserver.GeoProfile
Helper class for various parts of the GeoProfile.
Nested Class Summary | |
class |
GeoProfile.Attribute
|
class |
GeoProfile.Diag
|
Field Summary | |
static int |
AFTER
|
static int |
BEFORE
|
static int |
BEFORE_OR_DURING
|
static java.lang.String |
BOUNDING_MATCH
|
static java.lang.String |
BREIF_SET
|
static int |
DURING
|
static int |
DURING_OR_AFTER
|
static int |
ENCLOSES
|
static int |
EQUALS
|
static java.lang.String |
FULL_SET
|
static int |
FULLY_ENCLOSED
|
static int |
GREATER_THAN
|
static int |
GREATER_THAN_EQUAL
|
static int |
LESS_THAN
|
static int |
LESS_THAN_EQUAL
|
static java.lang.String |
MATCH_PREFIX
|
static int |
NOT_EQUAL
|
static int |
OVERLAPS
|
static int |
RELATION
|
static int |
STRUCTURE
|
static java.lang.String |
SUMMARY_SET
|
static java.lang.String |
TRUNCATE
|
static int |
TRUNCATION
|
static int |
USE
|
Constructor Summary | |
GeoProfile()
|
Method Summary | |
static java.lang.Double |
computeExtent(java.lang.String eastbc,
java.lang.String westbc,
java.lang.String northbc,
java.lang.String southbc)
Computes the extent given the bounding coordinates. |
static java.util.Properties |
getUseAttrMap()
Gets the mappings of the Use Attribute numbers to xpaths. |
static boolean |
isBoundingField(java.lang.String searchField)
|
static boolean |
isDateRange(int relation)
Returns true if the relation is one of BEFORE, BEFORE_OR_DURING, DURING, DURING_OR_AFTER, or AFTER. |
static boolean |
isFGDCdate(java.lang.String name)
Checks to see if the given name should be computed as a a date. |
static boolean |
isFGDCnum(java.lang.String name)
Checks to see if the given name should be a number. |
static void |
setUseAttrMap(java.util.Properties useAttrMap)
Sets the property object that contains the mappings of Use Attribute numbers to xpaths (and keywords). |
static void |
setUseAttrMap(java.lang.String pathToPropFile)
Opens the file at pathToPropFile and turns it into a properties object, using the newly created properties object as the mappings of use attributes numbers to xpaths and keywords. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int LESS_THAN
public static final int LESS_THAN_EQUAL
public static final int EQUALS
public static final int GREATER_THAN_EQUAL
public static final int GREATER_THAN
public static final int NOT_EQUAL
public static final int OVERLAPS
public static final int FULLY_ENCLOSED
public static final int ENCLOSES
public static final int BEFORE
public static final int BEFORE_OR_DURING
public static final int DURING
public static final int DURING_OR_AFTER
public static final int AFTER
public static final int USE
public static final int RELATION
public static final int STRUCTURE
public static final int TRUNCATION
public static final java.lang.String TRUNCATE
public static final java.lang.String FULL_SET
public static final java.lang.String SUMMARY_SET
public static final java.lang.String BREIF_SET
public static final java.lang.String MATCH_PREFIX
public static final java.lang.String BOUNDING_MATCH
Constructor Detail |
public GeoProfile()
Method Detail |
public static void setUseAttrMap(java.util.Properties useAttrMap)
useAttrMap
- the attribute mapping to use.public static java.util.Properties getUseAttrMap()
public static void setUseAttrMap(java.lang.String pathToPropFile)
pathToPropFile
- the full path to the file containing the use
mappings.public static boolean isDateRange(int relation)
relation
- the int relation number.
public static boolean isBoundingField(java.lang.String searchField)
public static boolean isFGDCnum(java.lang.String name)
name
- the name to test.
public static java.lang.Double computeExtent(java.lang.String eastbc, java.lang.String westbc, java.lang.String northbc, java.lang.String southbc)
eastbc
- The eastern bounding coordinate.westbc
- The western bounding coordinate.northbc
- The northern bounding coordinate.southbc
- The southern bounding coordinate.
public static boolean isFGDCdate(java.lang.String name)
name
- the name to test.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |