Mapping m = new Mapping();
child = m;
}
else if ("var-bind-list".equals(localName))
{
VarBindList vblist = new VarBindList();
child = vblist;
if (attrs.getLength() > 0)
{
for (int i = 0; i < attrs.getLength(); i++)
{
if ("wrapper-class".equals(attrs.getLocalName(i)))
{
vblist.setWrapperClass(attrs.getValue(i));
}
}
}
// check that wrapper-class is set
if (vblist.getWrapperClass() == null)
{
throw new RuntimeException("'wrapper-class' must be set at 'var-bind-list' element");
}
}
else if ("var-bind".equals(localName))