|
Apache Abdera API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
org.apache.abdera.i18n.templates.HashMapContext
public final class HashMapContext
Context implementation based on a HashMap
Constructor Summary | |
---|---|
HashMapContext()
|
|
HashMapContext(Map<String,Object> map)
|
|
HashMapContext(Map<String,Object> map,
boolean isiri)
|
Method Summary | ||
---|---|---|
boolean |
equals(Object obj)
|
|
int |
hashCode()
|
|
boolean |
isIri()
True if IRI expansion is enabled |
|
boolean |
isNormalizing()
True if replacement values are to be Unicode NFC normalized |
|
Iterator<String> |
iterator()
|
|
|
resolve(String var)
Resolve a value for the specified variable. |
|
void |
setIri(boolean isiri)
True if IRI expansion is to be enabled |
|
void |
setNormalizing(boolean normalizing)
True if replacement values are to be Unicode NFC normalized |
Methods inherited from class java.util.HashMap |
---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
---|
toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.abdera.i18n.templates.Context |
---|
clear |
Constructor Detail |
---|
public HashMapContext()
public HashMapContext(Map<String,Object> map)
public HashMapContext(Map<String,Object> map, boolean isiri)
Method Detail |
---|
public <T> T resolve(String var)
Context
resolve
in interface Context
public boolean isIri()
Context
isIri
in interface Context
public void setIri(boolean isiri)
Context
setIri
in interface Context
public Iterator<String> iterator()
iterator
in interface Iterable<String>
public int hashCode()
hashCode
in interface Map<String,Object>
hashCode
in class AbstractMap<String,Object>
public boolean equals(Object obj)
equals
in interface Map<String,Object>
equals
in class AbstractMap<String,Object>
public boolean isNormalizing()
Context
isNormalizing
in interface Context
public void setNormalizing(boolean normalizing)
Context
setNormalizing
in interface Context
|
Apache Abdera API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |