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 IContentHandler
createDelegate
(Class clazz, Object[] args) boolean
endArray()
void
endJSON()
boolean
boolean
ContentHandler
getValue()
protected Class<? extends ContentHandler>
lookupDelegate
(String type) boolean
boolean
void
boolean
boolean
startObjectEntry
(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:
startJSON
in interfaceContentHandler
- Throws:
ParseException
IOException
-
endJSON
- Specified by:
endJSON
in interfaceContentHandler
- Throws:
ParseException
IOException
-
startObject
- Specified by:
startObject
in interfaceContentHandler
- Throws:
ParseException
IOException
-
endObject
- Specified by:
endObject
in interfaceContentHandler
- Throws:
ParseException
IOException
-
startObjectEntry
- Specified by:
startObjectEntry
in interfaceContentHandler
- Throws:
ParseException
IOException
-
endObjectEntry
- Specified by:
endObjectEntry
in interfaceContentHandler
- Throws:
ParseException
IOException
-
startArray
- Specified by:
startArray
in interfaceContentHandler
- Throws:
ParseException
IOException
-
endArray
- Specified by:
endArray
in interfaceContentHandler
- Throws:
ParseException
IOException
-
primitive
- Specified by:
primitive
in interfaceContentHandler
- Throws:
ParseException
IOException
-
getValue
- Specified by:
getValue
in interfaceIContentHandler<T>
-
lookupDelegate
-
createDelegate
-