O - type of the entry associated to the definitionpublic class JAXXContextEntryDef<O> extends Object implements Serializable
JAXXContext.
Use the factory methods newContextEntryDef and
newListContextEntryDef to obtain new instances.| Modifier and Type | Field and Description |
|---|---|
protected Class<O> |
klass
class of the entry, can not be null
|
protected String |
name
name of the entry, can be nuill for a unamed entry.
|
| Constructor and Description |
|---|
JAXXContextEntryDef(Class<Map> mapClass,
String name)
Special constructor for map, otherwise it is not possible to cast to O
|
JAXXContextEntryDef(Class<O> klass) |
JAXXContextEntryDef(String name,
Class<O> klass) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Class<?> klass,
String name) |
boolean |
accept2(Class<?> klass,
String name) |
boolean |
equals(Object o) |
O |
getContextValue(JAXXContext context) |
Class<O> |
getKlass() |
String |
getName() |
int |
hashCode() |
void |
removeContextValue(JAXXContext context) |
void |
setContextValue(JAXXContext context,
O value) |
String |
toString() |
protected String name
public JAXXContextEntryDef(Class<Map> mapClass, String name)
mapClass - map classname - name of contentpublic String getName()
public O getContextValue(JAXXContext context)
public void removeContextValue(JAXXContext context)
public void setContextValue(JAXXContext context, O value)
Copyright © 2008–2019 Ultreia.io. All rights reserved.