|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BasicSkinHelper<V extends GeoObject>
Most of the vector chart classes work on generalized GeoObjects. This is helper class for functionality that is not offered via the GeoObject interface and whose implementation differs among chart types (enc, dnc).
Method Summary | |
---|---|
java.util.List<? extends GeoFeatureType> |
convertGeoFeatureType(java.util.List<java.lang.String> featureTypeList)
Given a list of strings from a skin xml file that specify feature types, this method will return a parallel list of feature types specified by the list of strings. |
GeoFeatureType |
convertGeoFeatureType(java.lang.String type)
Given a string from a skin xml file describing a feature type from a skin xml file, this method will return the feature type the string is describing. |
ContentHandler<V> |
createAnnotationPainterSpec(AnnotationPainterSpec annotationSpec)
Returns a ContentHandler |
Skin<V> |
createDefaultHardCodedSkin()
Returns a simple, default, hardcoded skin for the given chart type |
Skin<V> |
createDefaultHardCodedSkin(ColorPalette colorPalette)
Returns a simple, default, hardcoded skin with the givne color palette for the given chart type |
StreamToGeoObjectConverter<V> |
createGeoObjectLoader()
Returns a StreamToGeoObjectConverter capable of reading objects of type V out of a given DataInputStream. |
java.lang.String |
geoName()
Returns a String describing the chart type, "ENC", "DNC", etc |
javax.xml.validation.Schema |
getXsdSchema()
Returns the skin schema, or null if no validation needs to be performed |
boolean |
isBestBoundaryType(V feature)
Returns true if the given feature's vertices make up the coverage of the map |
boolean |
isSecondBestBoundaryType(V feature)
Returns true if the given feature's vertices should make up the coverage of the map |
Method Detail |
---|
javax.xml.validation.Schema getXsdSchema() throws org.xml.sax.SAXException
org.xml.sax.SAXException
Skin<V> createDefaultHardCodedSkin()
Skin<V> createDefaultHardCodedSkin(ColorPalette colorPalette)
ContentHandler<V> createAnnotationPainterSpec(AnnotationPainterSpec annotationSpec)
annotationSpec
-
boolean isBestBoundaryType(V feature)
boolean isSecondBestBoundaryType(V feature)
StreamToGeoObjectConverter<V> createGeoObjectLoader()
GeoFeatureType convertGeoFeatureType(java.lang.String type)
type
- string describing a feature type from a skin xml file
java.util.List<? extends GeoFeatureType> convertGeoFeatureType(java.util.List<java.lang.String> featureTypeList)
java.lang.String geoName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |