|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectXMLHandlerHints
public class XMLHandlerHints
Hint object with known parameters for XML parsing.
modules/library/xml (gt-xml.jar)
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface Map |
---|
Map.Entry<K,V> |
Field Summary | |
---|---|
static String |
FILTER_COMPLIANCE_STRICTNESS
Sets the level of compliance that the filter encoder should use |
static String |
FLOW_HANDLER_HINT
Declares a FlowHandler for the parser to use |
static String |
NAMESPACE_MAPPING
Declares the schemas to use for parsing. |
static String |
STREAM_HINT
Tells the parser to "Stream" |
static Integer |
VALUE_FILTER_COMPLIANCE_HIGH
The value so the parser will be compliant with the Filter 1.0.0 spec. |
static Integer |
VALUE_FILTER_COMPLIANCE_LOW
The value so that the parser will encode all Geotools filters with no modifications. |
static Integer |
VALUE_FILTER_COMPLIANCE_MEDIUM
The value so the parser will be slightly more compliant to the Filter 1.0.0 spec. |
Constructor Summary | |
---|---|
XMLHandlerHints()
|
Method Summary | |
---|---|
void |
clear()
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Set |
entrySet()
|
boolean |
equals(Object o)
|
Object |
get(Object key)
|
int |
hashCode()
|
boolean |
isEmpty()
|
Set |
keySet()
|
Object |
put(Object arg0,
Object arg1)
|
void |
putAll(Map arg0)
|
Object |
remove(Object key)
|
int |
size()
|
Collection |
values()
|
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NAMESPACE_MAPPING
public static final String FLOW_HANDLER_HINT
public static final String STREAM_HINT
public static final String FILTER_COMPLIANCE_STRICTNESS
public static final Integer VALUE_FILTER_COMPLIANCE_LOW
public static final Integer VALUE_FILTER_COMPLIANCE_MEDIUM
BBoxFilter
or
FidFilter
as
<Filter><BBo>...</BBox><FidFilter fid="fid"/></Filter>
It will encode:
BBoxFilter
and
FidFilter
as
<Filter><FidFilter fid="fid"/></Filter>
IMPORTANT: If this compliance level is used and a non-strict FilterFactory is used to create the filter then the original filter must be ran on the retrieved feature because this hint will sometimes cause more features to be returned than is requested. Consider the following filter: not(fidFilter). this will return all features and so the filtering must be done on the client.
public static final Integer VALUE_FILTER_COMPLIANCE_HIGH
BBoxFilter
and
FidFilter
as
<Filter><FidFilter fid="fid"/></Filter>
IMPORTANT: If this compliance level is used and a non-strict FilterFactory is used to create the filter then the original filter must be ran on the retrieved feature because this hint will sometimes cause more features to be returned than is requested. Consider the following filter:
not(fidFilter).
this will return all features and so the filtering must be done on the client.
Constructor Detail |
---|
public XMLHandlerHints()
Method Detail |
---|
public void clear()
clear
in interface Map
public boolean containsKey(Object key)
containsKey
in interface Map
public boolean containsValue(Object value)
containsValue
in interface Map
public Set entrySet()
entrySet
in interface Map
public boolean equals(Object o)
equals
in interface Map
equals
in class Object
public Object get(Object key)
get
in interface Map
public int hashCode()
hashCode
in interface Map
hashCode
in class Object
public boolean isEmpty()
isEmpty
in interface Map
public Set keySet()
keySet
in interface Map
public Object put(Object arg0, Object arg1)
put
in interface Map
public void putAll(Map arg0)
putAll
in interface Map
public Object remove(Object key)
remove
in interface Map
public int size()
size
in interface Map
public Collection values()
values
in interface Map
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |