Author: vgritsenko Date: Wed Nov 17 11:09:26 2004 New Revision: 76160 Modified: cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/TreeBuilder.java Log: whitespaces
Modified: cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/TreeBuilder.java ============================================================================== --- cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/TreeBuilder.java (original) +++ cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/TreeBuilder.java Wed Nov 17 11:09:26 2004 @@ -1,12 +1,12 @@ /* * Copyright 1999-2004 The Apache Software Foundation. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -26,17 +26,17 @@ * @author <a href="mailto:[EMAIL PROTECTED]">Sylvain Wallez</a> * @version CVS $Id$ */ - public interface TreeBuilder { - - final static String ROLE = TreeBuilder.class.getName(); - void setProcessor(ConcreteTreeProcessor processor); - + String ROLE = TreeBuilder.class.getName(); + + void setParentProcessorManager(ServiceManager manager); ConcreteTreeProcessor getProcessor(); + void setProcessor(ConcreteTreeProcessor processor); + /** * Register a <code>ProcessingNode</code> under a given name. * For example, <code>ResourceNodeBuilder</code> stores here the <code>ProcessingNode</code>s @@ -83,7 +83,7 @@ * Get the type for a statement : it returns the 'type' attribute if present, * and otherwhise the default hint for the <code>ServiceSelector</code> identified by * the role <code>role</code>. - * + * * @param statement the statement * @param role the component's role (warn: not the selector's role) * @@ -95,7 +95,7 @@ * Add an attribute. Useful to transmit information between distant (in the tree) node builders */ void setAttribute(String name, Object value); - + /** * Get the value of an attribute. */