public class XMLSimpleIdMap extends IdMap implements IdMapDecoder
| Modifier and Type | Field and Description |
|---|---|
static char |
ENDTAG
The Constant ENDTAG.
|
static char |
ITEMEND
The Constant ITEMEND.
|
static char |
ITEMSTART
The Constant ITEMSTART.
|
static char |
SPACE
The Constant SPACE.
|
COLLISION, filter, ID, ITEMS, keyValue, logger, NEW, PRIO, REMOVE, SENDUPDATE, UPDATE, updateListener, updatePropertylistenercreators| Constructor and Description |
|---|
XMLSimpleIdMap()
Instantiates a new XML id map.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
decode(BaseItem value) |
java.lang.Object |
decode(java.lang.String value)
Read Json Automatic create JsonArray or JsonObject.
|
java.lang.Object |
decode(XMLTokener tokener,
XMLGrammar factory)
Decoding Teh XMLTokener with XMLGrammar.
|
XMLEntity |
encode(java.lang.Object value) |
XMLEntity |
encode(java.lang.Object entity,
Filter filter) |
protected XMLEntity |
getEntity(XMLGrammar factory,
XMLTokener tokener)
Gets the entity.
|
protected void |
init()
Instantiates a new XML id map.
|
protected java.lang.Object |
parse(XMLEntity entity,
XMLTokener tokener,
XMLGrammar grammar)
Find tag.
|
XMLSimpleIdMap |
withStopwords(java.lang.String... values)
Add new Stopwords to List.
|
addListener, clear, cloneObject, containsKey, containsValue, entrySet, garbageCollection, get, getCounter, getId, getKey, getKeyValue, getLogger, getObject, getTypList, getUpdateListener, isCaseSensitive, isEmpty, keySet, put, putAll, remove, removeObj, replaceObject, size, startCarbageCollection, startUpdateModell, values, withCaseSensitive, withCounter, withCreator, withFilter, withIdListener, withKeyValue, withLogger, withSessionId, withUpdateListenergetCreator, getCreatorClass, iterator, removeCreator, withCreator, withCreator, withCreatorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final char ENDTAG
public static final char ITEMEND
public static final char ITEMSTART
public static final char SPACE
protected void init()
public XMLSimpleIdMap withStopwords(java.lang.String... values)
values - The List for addpublic java.lang.Object decode(BaseItem value)
decode in interface IdMapDecoderpublic java.lang.Object decode(XMLTokener tokener, XMLGrammar factory)
tokener - The XMLTokenerfactory - The XMLGrammar for Structurepublic java.lang.Object decode(java.lang.String value)
decode in interface IdMapDecodervalue - Decoding Valueprotected java.lang.Object parse(XMLEntity entity, XMLTokener tokener, XMLGrammar grammar)
entity - The Entitytokener - the tokenergrammar - the grammarprotected XMLEntity getEntity(XMLGrammar factory, XMLTokener tokener)
factory - the grammartokener - the tokener