1 package net.sf.saxon.pull; 2 3 import net.sf.saxon.instruct.ElementCreator; 4 import net.sf.saxon.expr.XPathContext; 5 import net.sf.saxon.type.Type; 6 7 10 11 public class UnconstructedElement extends UnconstructedParent { 12 13 private int nameCode; 14 15 public UnconstructedElement(ElementCreator instruction, XPathContext context) { 16 super(instruction, context); 17 } 18 19 public void setNameCode(int nameCode) { 20 this.nameCode = nameCode; 21 } 22 23 35 36 public int getNameCode() { 37 return nameCode; 38 } 39 40 public int getNodeKind() { 41 return Type.ELEMENT; 42 } 43 } 44 45 46 | Popular Tags |