this.extensions = extensions;
}
public DefaultTupleRule<Node, MappingNode> createDocumentRule(Class<?> documentClass)
{
DefaultTupleRule<Node, MappingNode> documentRule = new DefaultTupleRule<Node, MappingNode>(null, new DefaultTupleHandler());
documentRule.setNodeRuleFactory(this);
documentRule.addRulesFor(documentClass);
return documentRule;
}