Package org.geotools.geojson
Class DelegatingHandler<T>
Object
DelegatingHandler<T>
- All Implemented Interfaces:
IContentHandler<T>,ContentHandler
- Direct Known Subclasses:
FeatureCollectionHandler,FeatureHandler,FeatureTypeHandler,GeometryCollectionHandler,GeometryHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IContentHandlercreateDelegate(Class clazz, Object[] args) booleanendArray()voidendJSON()booleanbooleanContentHandlergetValue()protected Class<? extends ContentHandler>lookupDelegate(String type) booleanbooleanvoidbooleanbooleanstartObjectEntry(String key)
-
Field Details
-
handlers
-
NULL
protected static DelegatingHandler.NullHandler NULL -
UNINITIALIZED
protected static DelegatingHandler.NullHandler UNINITIALIZED -
NULL_LIST
-
delegate
protected ContentHandler delegate
-
-
Constructor Details
-
DelegatingHandler
public DelegatingHandler()
-
-
Method Details
-
getDelegate
public ContentHandler getDelegate() -
startJSON
- Specified by:
startJSONin interfaceContentHandler- Throws:
ParseExceptionIOException
-
endJSON
- Specified by:
endJSONin interfaceContentHandler- Throws:
ParseExceptionIOException
-
startObject
- Specified by:
startObjectin interfaceContentHandler- Throws:
ParseExceptionIOException
-
endObject
- Specified by:
endObjectin interfaceContentHandler- Throws:
ParseExceptionIOException
-
startObjectEntry
- Specified by:
startObjectEntryin interfaceContentHandler- Throws:
ParseExceptionIOException
-
endObjectEntry
- Specified by:
endObjectEntryin interfaceContentHandler- Throws:
ParseExceptionIOException
-
startArray
- Specified by:
startArrayin interfaceContentHandler- Throws:
ParseExceptionIOException
-
endArray
- Specified by:
endArrayin interfaceContentHandler- Throws:
ParseExceptionIOException
-
primitive
- Specified by:
primitivein interfaceContentHandler- Throws:
ParseExceptionIOException
-
getValue
- Specified by:
getValuein interfaceIContentHandler<T>
-
lookupDelegate
-
createDelegate
-