All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hp.hpl.sparta.xpath.Visitor Maven / Gradle / Ivy

Go to download

Support Chinese character (both Simplified and Tranditional) to most popular Pinyin systems, including Hanyu Pinyin, Tongyong Pinyin, Wade-Giles, MPS2, Yale and Gwoyeu Romatzyh. Support multiple pronounciations and customized output.

There is a newer version: 2.5.1
Show newest version
/* Generated by Together */

package com.hp.hpl.sparta.xpath;

/**
 * Something that crawls over the parse tree.  This is a participant
 * in the Visitor Pattern [Gamma et al, #331].  You pass a visitor to
 * the XPath.accept method which then passes it to all the nodes on
 * the parse tree, each one of which calls back one of the visitor's
 * visit methods.

 
Copyright (C) 2002 Hewlett-Packard Company. This file is part of Sparta, an XML Parser, DOM, and XPath library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@version $Date: 2002/12/13 18:06:03 $ $Revision: 1.5 $ @author Eamonn O'Brien-Strain * @stereotype visitor */ public interface Visitor extends NodeTestVisitor, BooleanExprVisitor { } // $Log: Visitor.java,v $ // Revision 1.5 2002/12/13 18:06:03 eobrain // Factor Visitor out into separate visitors for node tests and predicates. // // Revision 1.4 2002/12/05 04:34:38 eobrain // Add support for greater than and less than relational expressions in predicates. // // Revision 1.3 2002/10/30 16:29:51 eobrain // Feature request [ 630127 ] Support /a/b[text()='foo'] // http://sourceforge.net/projects/sparta-xml/ // // Revision 1.2 2002/09/18 05:29:45 eobrain // Support xpath predicates of the form [1], [2], ... // // Revision 1.1.1.1 2002/08/19 05:04:03 eobrain // import from HP Labs internal CVS // // Revision 1.5 2002/08/18 23:39:21 eob // Add copyright and other formatting and commenting in preparation for // release to SourceForge. // // Revision 1.4 2002/06/14 19:35:12 eob // Add handling of "text()" in XPath expressions. // // Revision 1.3 2002/06/04 05:27:34 eob // Simplify use of visitor pattern to make code easier to understand. // // Revision 1.2 2002/02/04 22:12:29 eob // Add handling of nodetest for attribute. // // Revision 1.1 2002/02/01 02:49:59 eob // initial




© 2015 - 2024 Weber Informatics LLC | Privacy Policy