286N/A/*
286N/A * reserved comment block
286N/A * DO NOT REMOVE OR ALTER!
286N/A */
286N/A/*
286N/A * Copyright 2002-2004 The Apache Software Foundation.
286N/A *
286N/A * Licensed under the Apache License, Version 2.0 (the "License");
286N/A * you may not use this file except in compliance with the License.
286N/A * You may obtain a copy of the License at
286N/A *
286N/A * http://www.apache.org/licenses/LICENSE-2.0
286N/A *
286N/A * Unless required by applicable law or agreed to in writing, software
286N/A * distributed under the License is distributed on an "AS IS" BASIS,
286N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
286N/A * See the License for the specific language governing permissions and
286N/A * limitations under the License.
286N/A */
286N/A/*
286N/A * $Id: XPathVisitable.java,v 1.1.2.1 2005/08/01 01:30:13 jeffsuttor Exp $
286N/A */
286N/Apackage com.sun.org.apache.xpath.internal;
286N/A
286N/A/**
286N/A * A class that implements this interface will call a XPathVisitor
286N/A * for itself and members within it's heararchy. If the XPathVisitor's
286N/A * method returns false, the sub-member heararchy will not be
286N/A * traversed.
286N/A */
286N/Apublic interface XPathVisitable
286N/A{
286N/A /**
286N/A * This will traverse the heararchy, calling the visitor for
286N/A * each member. If the called visitor method returns
286N/A * false, the subtree should not be called.
286N/A *
286N/A * @param owner The owner of the visitor, where that path may be
286N/A * rewritten if needed.
286N/A * @param visitor The visitor whose appropriate method will be called.
286N/A */
286N/A public void callVisitors(ExpressionOwner owner, XPathVisitor visitor);
286N/A}