public static Element read(InputNode node) throws Exception { QName qname = new QName(node.getReference(), node.getName(), node.getPrefix()); org.w3c.dom.Element element = SardineUtil.createElement(qname); element.setTextContent(node.getValue()); return element; }
protected Class<? extends T> lookupType(InputNode input, Class type) { Alias alias = new Alias(input.getReference(), input.getName(), get(input, getTypeAttribute())); return aliasTypeMap.get(alias); }