public <T> T createByXPath(Object parentObject, String xPath, NamespaceResolver namespaceResolver, Class<T> returnType) {
return getXMLContext().createByXPath(parentObject, xPath, namespaceResolver, returnType);
}
public ObjectGraph createObjectGraph(Class type) {
CoreAttributeGroup group = new CoreAttributeGroup(null, type, true);
return new ObjectGraphImpl(group);
}