E - the type of components that constitute the pathpublic class ParseContext<E> extends Object implements org.databene.commons.Context
| Modifier and Type | Field and Description |
|---|---|
protected XMLElementParserFactory<E> |
factory |
protected Class<E> |
pathComponentType |
| Constructor and Description |
|---|
ParseContext(Class<E> pathComponentType) |
ParseContext(Class<E> pathComponentType,
XMLElementParserFactory<E> factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addParser(XMLElementParser<E> parser) |
boolean |
contains(String key) |
E[] |
createSubPath(E[] parentPath,
E currentObject) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(String key) |
Set<String> |
keySet() |
E |
parseChildElement(Element childElement,
E[] currentPath) |
List<E> |
parseChildElementsOf(Element element,
E[] currentPath) |
E |
parseElement(Element element,
E[] parentPath) |
void |
remove(String key) |
void |
set(String key,
Object value) |
protected XMLElementParserFactory<E> factory
public ParseContext(Class<E> pathComponentType, XMLElementParserFactory<E> factory)
public void addParser(XMLElementParser<E> parser)
public void set(String key, Object value)
set in interface org.databene.commons.Contextpublic void remove(String key)
remove in interface org.databene.commons.Contextpublic boolean contains(String key)
contains in interface org.databene.commons.ContextCopyright © 2006–2016 Volker Bergmann. All rights reserved.