public class IdReferenceCreator implements Creator
{
public Object create (String parentNS, String parentTag, Element elm, Object parentObj, DecodeEngine decodeEngine)
{
Attr attr = elm.getAttributeNode ("ctor");
IdReference idref = attr == null ? null : decodeEngine.getCookXml ().getId (attr.getNodeValue ());
if (idref != null)
{
decodeEngine.setCurrentTag (idref.tag);
decodeEngine.addCurrentSkipList (attr);
return idref.object;