1 22 23 28 29 package org.xquark.xquery.parser; 30 31 import org.xquark.xquery.typing.TypeException; 32 33 public class Document extends XQueryUnaryOperatorExpression implements Cloneable { 34 35 private static final String RCSRevision = "$Revision: 1.7 $"; 36 private static final String RCSName = "$Name: $"; 37 38 42 public void accept(ParserVisitor visitor) throws XQueryException { 43 visitor.visit(this); 44 } 45 46 50 public Document(XQueryExpression expression, XQueryModule parentModule) throws TypeException, XQueryException { 51 super(expression); 52 setParentModule(parentModule); 53 if (parentModule != null && parentModule.getStaticContext().getTypeVisitor() != null) 54 accept(parentModule.getStaticContext().getTypeVisitor()); 55 } 56 57 61 } 62 | Popular Tags |