public static class XMLUtility.XMLMapRetriever<K,R extends XMLUtility.XMLKeyValueRetriever<K,C>,C extends XMLUtility.XMLRetrCtxt> extends HashMap<K,R> implements XMLUtility.XMLCollectionRetriever<C>, Serializable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
protected XMLUtility.XMLRetrieverCreator<R,C> |
creator |
| Constructor and Description |
|---|
XMLMapRetriever(XMLUtility.XMLRetrieverCreator<R,C> ctr) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAsInteger(int dv)
保持テキストをintで取得.
|
long |
getAsLong(long dv)
保持テキストをlongで取得.
|
double |
getAsReal(double dv)
保持テキストをdoubleで取得.
|
String |
getAsText(String dv)
保持テキストをStringで取得.
|
String |
getText()
保持テキストを得る..
|
boolean |
hasValidText()
保持テキストの検査.
|
void |
postProcess(C ctx)
XMLからテキストを取得後に呼び出される.
ただし,最上位では呼び出されない.
|
void |
preProcess(C ctx)
XMLからテキストを取得前に呼び出される.
ただし,最上位では呼び出されない.
|
boolean |
retrieve(XMLUtility.XMLNode node,
C ctx)
XMLからテキストを取得する.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringprotected XMLUtility.XMLRetrieverCreator<R extends XMLUtility.XMLKeyValueRetriever<K,C>,C extends XMLUtility.XMLRetrCtxt> creator
public XMLMapRetriever(XMLUtility.XMLRetrieverCreator<R,C> ctr)
public boolean retrieve(XMLUtility.XMLNode node, C ctx)
retrieve in interface XMLUtility.XMLRetriever<C extends XMLUtility.XMLRetrCtxt>node - 対象ノード.ctx - parser context.public void preProcess(C ctx)
preProcess in interface XMLUtility.XMLRetriever<C extends XMLUtility.XMLRetrCtxt>ctx - parser context.public void postProcess(C ctx)
postProcess in interface XMLUtility.XMLRetriever<C extends XMLUtility.XMLRetrCtxt>ctx - parser context.public String getText()
getText in interface XMLUtility.XMLRetriever<C extends XMLUtility.XMLRetrCtxt>public boolean hasValidText()
hasValidText in interface XMLUtility.XMLRetriever<C extends XMLUtility.XMLRetrCtxt>public String getAsText(String dv)
getAsText in interface XMLUtility.XMLRetriever<C extends XMLUtility.XMLRetrCtxt>dv - デフォルト値.public double getAsReal(double dv)
getAsReal in interface XMLUtility.XMLRetriever<C extends XMLUtility.XMLRetrCtxt>dv - デフォルト値.public long getAsLong(long dv)
getAsLong in interface XMLUtility.XMLRetriever<C extends XMLUtility.XMLRetrCtxt>dv - デフォルト値.public int getAsInteger(int dv)
getAsInteger in interface XMLUtility.XMLRetriever<C extends XMLUtility.XMLRetrCtxt>dv - デフォルト値.EDB Working Group at Tue Dec 2 16:35:33 JST 2025