1 22 23 package org.xquark.xpath; 24 25 import org.xquark.schema.Declaration; 26 27 37 public abstract class TypedXTreeBuilder extends XTreeBuilder 38 { 39 private static final String RCSRevision = "$Revision: 1.1 $"; 40 private static final String RCSName = "$Name: $"; 41 42 45 public TypedXTreeBuilder() 46 {} 47 48 52 public TypedXTreeBuilder(XTree tree) 53 { 54 super(tree); 55 } 56 57 64 public final TypedXTreeNode createTypedNode( 65 XTreeNode parent, 66 Declaration decl) 67 { 68 return (TypedXTreeNode) tree.register(allocateNode(parent, decl)); 69 } 70 71 79 public abstract XTreeNode allocateNode(XTreeNode parent, Declaration decl); 80 } 81 | Popular Tags |