<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_08) on Thu Nov 09 10:56:04 CET 2006 --> <TITLE> Node </TITLE> <META NAME="keywords" CONTENT="AST.Node interface"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="Node"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../AST/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../AST/List.html" title="class in AST"><B>PREV CLASS</B></A> <A HREF="../AST/OClass.html" title="class in AST"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html?AST/Node.html" target="_top"><B>FRAMES</B></A> <A HREF="Node.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> AST</FONT> <BR> Interface Node</H2> <DL> <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../AST/ASTNode.html" title="class in AST">ASTNode</A>, <A HREF="../AST/Attribute.html" title="class in AST">Attribute</A>, <A HREF="../AST/ComplexElement.html" title="class in AST">ComplexElement</A>, <A HREF="../AST/Element.html" title="class in AST">Element</A>, <A HREF="../AST/FloatElement.html" title="class in AST">FloatElement</A>, <A HREF="../AST/IntElement.html" title="class in AST">IntElement</A>, <A HREF="../AST/List.html" title="class in AST">List</A>, <A HREF="../AST/OClass.html" title="class in AST">OClass</A>, <A HREF="../AST/Opt.html" title="class in AST">Opt</A>, <A HREF="../AST/OwlAllDifferent.html" title="class in AST">OwlAllDifferent</A>, <A HREF="../AST/OwlAllValuesFrom.html" title="class in AST">OwlAllValuesFrom</A>, <A HREF="../AST/OwlCardinality.html" title="class in AST">OwlCardinality</A>, <A HREF="../AST/OwlClass.html" title="class in AST">OwlClass</A>, <A HREF="../AST/OwlClassDecl.html" title="class in AST">OwlClassDecl</A>, <A HREF="../AST/OwlClassUse.html" title="class in AST">OwlClassUse</A>, <A HREF="../AST/OwlDataRange.html" title="class in AST">OwlDataRange</A>, <A HREF="../AST/OwlDatatypeProperty.html" title="class in AST">OwlDatatypeProperty</A>, <A HREF="../AST/OwlDisjointWith.html" title="class in AST">OwlDisjointWith</A>, <A HREF="../AST/OwlEquivalentClass.html" title="class in AST">OwlEquivalentClass</A>, <A HREF="../AST/OwlFunctionalProperty.html" title="class in AST">OwlFunctionalProperty</A>, <A HREF="../AST/OwlImports.html" title="class in AST">OwlImports</A>, <A HREF="../AST/OwlIntersectionOf.html" title="class in AST">OwlIntersectionOf</A>, <A HREF="../AST/OwlInverseOf.html" title="class in AST">OwlInverseOf</A>, <A HREF="../AST/OwlMinCardinality.html" title="class in AST">OwlMinCardinality</A>, <A HREF="../AST/OwlObjectProperty.html" title="class in AST">OwlObjectProperty</A>, <A HREF="../AST/OwlOneOf.html" title="class in AST">OwlOneOf</A>, <A HREF="../AST/OwlOnProperty.html" title="class in AST">OwlOnProperty</A>, <A HREF="../AST/OwlOntology.html" title="class in AST">OwlOntology</A>, <A HREF="../AST/OwlProperty.html" title="class in AST">OwlProperty</A>, <A HREF="../AST/OwlRestriction.html" title="class in AST">OwlRestriction</A>, <A HREF="../AST/OwlSomeValuesFrom.html" title="class in AST">OwlSomeValuesFrom</A>, <A HREF="../AST/OwlUnionOf.html" title="class in AST">OwlUnionOf</A>, <A HREF="../AST/OwlValuesFrom.html" title="class in AST">OwlValuesFrom</A>, <A HREF="../AST/Properties.html" title="class in AST">Properties</A>, <A HREF="../AST/RdfAbout.html" title="class in AST">RdfAbout</A>, <A HREF="../AST/RdfDatatype.html" title="class in AST">RdfDatatype</A>, <A HREF="../AST/RdfDeclaration.html" title="class in AST">RdfDeclaration</A>, <A HREF="../AST/RdfFirst.html" title="class in AST">RdfFirst</A>, <A HREF="../AST/RdfId.html" title="class in AST">RdfId</A>, <A HREF="../AST/RdfParseType.html" title="class in AST">RdfParseType</A>, <A HREF="../AST/RdfResource.html" title="class in AST">RdfResource</A>, <A HREF="../AST/RdfRest.html" title="class in AST">RdfRest</A>, <A HREF="../AST/RdfsComment.html" title="class in AST">RdfsComment</A>, <A HREF="../AST/RdfsDomain.html" title="class in AST">RdfsDomain</A>, <A HREF="../AST/RdfsRange.html" title="class in AST">RdfsRange</A>, <A HREF="../AST/RdfsSubClassOf.html" title="class in AST">RdfsSubClassOf</A>, <A HREF="../AST/RdfsSubPropertyOf.html" title="class in AST">RdfsSubPropertyOf</A>, <A HREF="../AST/RdfType.html" title="class in AST">RdfType</A>, <A HREF="../AST/Restrictions.html" title="class in AST">Restrictions</A>, <A HREF="../AST/SimpleElement.html" title="class in AST">SimpleElement</A>, <A HREF="../AST/SimpleNode.html" title="class in AST">SimpleNode</A>, <A HREF="../AST/Specification.html" title="class in AST">Specification</A>, <A HREF="../AST/Start.html" title="class in AST">Start</A>, <A HREF="../AST/StringElement.html" title="class in AST">StringElement</A>, <A HREF="../AST/Value.html" title="class in AST">Value</A>, <A HREF="../AST/Version.html" title="class in AST">Version</A>, <A HREF="../AST/XmlBase.html" title="class in AST">XmlBase</A>, <A HREF="../AST/XmlHeader.html" title="class in AST">XmlHeader</A>, <A HREF="../AST/Xmlns.html" title="class in AST">Xmlns</A>, <A HREF="../AST/XmlnsDaml.html" title="class in AST">XmlnsDaml</A>, <A HREF="../AST/XmlnsDc.html" title="class in AST">XmlnsDc</A>, <A HREF="../AST/XmlnsOwl.html" title="class in AST">XmlnsOwl</A>, <A HREF="../AST/XmlnsP1.html" title="class in AST">XmlnsP1</A>, <A HREF="../AST/XmlnsProtege.html" title="class in AST">XmlnsProtege</A>, <A HREF="../AST/XmlnsRdf.html" title="class in AST">XmlnsRdf</A>, <A HREF="../AST/XmlnsRdfs.html" title="class in AST">XmlnsRdfs</A>, <A HREF="../AST/XmlnsXsd.html" title="class in AST">XmlnsXsd</A></DD> </DL> <HR> <DL> <DT><PRE>public interface <B>Node</B></DL> </PRE> <P> <HR> <P> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../AST/Node.html#jjtAccept(AST.OwlParserVisitor, java.lang.Object)">jjtAccept</A></B>(<A HREF="../AST/OwlParserVisitor.html" title="interface in AST">OwlParserVisitor</A> visitor, java.lang.Object data)</CODE> <BR> Accept the visitor.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../AST/Node.html#jjtAddChild(AST.Node, int)">jjtAddChild</A></B>(<A HREF="../AST/Node.html" title="interface in AST">Node</A> n, int i)</CODE> <BR> This method tells the node to add its argument to the node's list of children.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../AST/Node.html#jjtClose()">jjtClose</A></B>()</CODE> <BR> This method is called after all the child nodes have been added.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../AST/Node.html" title="interface in AST">Node</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../AST/Node.html#jjtGetChild(int)">jjtGetChild</A></B>(int i)</CODE> <BR> This method returns a child node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../AST/Node.html#jjtGetNumChildren()">jjtGetNumChildren</A></B>()</CODE> <BR> Return the number of children the node has.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../AST/Node.html" title="interface in AST">Node</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../AST/Node.html#jjtGetParent()">jjtGetParent</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../AST/Node.html#jjtOpen()">jjtOpen</A></B>()</CODE> <BR> This method is called after the node has been made the current node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../AST/Node.html#jjtSetParent(AST.Node)">jjtSetParent</A></B>(<A HREF="../AST/Node.html" title="interface in AST">Node</A> n)</CODE> <BR> This pair of methods are used to inform the node of its parent.</TD> </TR> </TABLE> <P> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="jjtOpen()"><!-- --></A><H3> jjtOpen</H3> <PRE> void <B>jjtOpen</B>()</PRE> <DL> <DD>This method is called after the node has been made the current node. It indicates that child nodes can now be added to it. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="jjtClose()"><!-- --></A><H3> jjtClose</H3> <PRE> void <B>jjtClose</B>()</PRE> <DL> <DD>This method is called after all the child nodes have been added. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="jjtSetParent(AST.Node)"><!-- --></A><H3> jjtSetParent</H3> <PRE> void <B>jjtSetParent</B>(<A HREF="../AST/Node.html" title="interface in AST">Node</A> n)</PRE> <DL> <DD>This pair of methods are used to inform the node of its parent. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="jjtGetParent()"><!-- --></A><H3> jjtGetParent</H3> <PRE> <A HREF="../AST/Node.html" title="interface in AST">Node</A> <B>jjtGetParent</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="jjtAddChild(AST.Node, int)"><!-- --></A><H3> jjtAddChild</H3> <PRE> void <B>jjtAddChild</B>(<A HREF="../AST/Node.html" title="interface in AST">Node</A> n, int i)</PRE> <DL> <DD>This method tells the node to add its argument to the node's list of children. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="jjtGetChild(int)"><!-- --></A><H3> jjtGetChild</H3> <PRE> <A HREF="../AST/Node.html" title="interface in AST">Node</A> <B>jjtGetChild</B>(int i)</PRE> <DL> <DD>This method returns a child node. The children are numbered from zero, left to right. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="jjtGetNumChildren()"><!-- --></A><H3> jjtGetNumChildren</H3> <PRE> int <B>jjtGetNumChildren</B>()</PRE> <DL> <DD>Return the number of children the node has. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="jjtAccept(AST.OwlParserVisitor, java.lang.Object)"><!-- --></A><H3> jjtAccept</H3> <PRE> java.lang.Object <B>jjtAccept</B>(<A HREF="../AST/OwlParserVisitor.html" title="interface in AST">OwlParserVisitor</A> visitor, java.lang.Object data)</PRE> <DL> <DD>Accept the visitor. <P> <DD><DL> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../AST/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../AST/List.html" title="class in AST"><B>PREV CLASS</B></A> <A HREF="../AST/OClass.html" title="class in AST"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html?AST/Node.html" target="_top"><B>FRAMES</B></A> <A HREF="Node.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>