public class ClassParserChain extends Object implements IClassParser
Modifier and Type | Field and Description |
---|---|
protected List<IClassParser> |
chain |
NO_RESULT
Constructor and Description |
---|
ClassParserChain() |
ClassParserChain(List<IClassParser> chain) |
Modifier and Type | Method and Description |
---|---|
Object |
convert(Class<?> c,
String str) |
List<IClassParser> |
getChain() |
static ClassParserChain |
getDefault() |
void |
setChain(List<IClassParser> chain) |
protected List<IClassParser> chain
public ClassParserChain()
public ClassParserChain(List<IClassParser> chain)
public Object convert(Class<?> c, String str) throws Exception
convert
in interface IClassParser
str
- Implementation-dependent, but for many class types, must be not null and length > 0.Exception
public List<IClassParser> getChain()
public void setChain(List<IClassParser> chain)
public static ClassParserChain getDefault()
Copyright © 2007–2017 Mark A. Ziesemer. All rights reserved.