de.spieleck.app.jacson
Class JacsonRegistry
java.lang.Object
de.spieleck.app.jacson.JacsonRegistry
- public class JacsonRegistry
- extends java.lang.Object
Registry for id/idref setup and everything else needed at config time.
Hold a RegExpUtil instance also.
XXX Consider moving that in the de.spieleck.config
package.
- Author:
- fsn
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID_NODE
public static final java.lang.String ID_NODE
- See Also:
- Constant Field Values
IDREF_NODE
public static final java.lang.String IDREF_NODE
- See Also:
- Constant Field Values
registered
protected java.util.Map registered
rutil
protected RegExpUtil rutil
JacsonRegistry
public JacsonRegistry(ConfigNode config)
throws JacsonConfigException
acceptId
public static boolean acceptId(ConfigNode node)
recurse
public void recurse(ConfigNode cn)
throws JacsonConfigException
- Throws:
JacsonConfigException
lookup
public ConfigNode lookup(ConfigNode cn,
ConfigNode anchor)
scanFor
public java.util.Iterator scanFor(java.lang.String name,
ConfigNode cn)
scanForString
public java.lang.String scanForString(java.lang.String name,
ConfigNode cn)
scanForValue
public java.lang.String scanForValue(ConfigNode cn)
find
public java.util.Iterator find(ConfigNode node,
java.lang.String nodeName)
getRegExpUtil
public RegExpUtil getRegExpUtil()
Copyleft 2002 spieleck.de.