View Javadoc
1 /* 2 * Copyright (c) 2001, 2002 The XDoclet team 3 * All rights reserved. 4 */ 5 package xdoclet.util.predicates; 6 7 import org.apache.commons.collections.Predicate; 8 9 /*** 10 * Factory that creates Predicate instances based on names. 11 * 12 * @see Predicate 13 * 14 * @author <a href="aslak.hellesoy at netcom.no">Aslak Hellesøy</a> 15 */ 16 public interface PredicateFactory { 17 /*** 18 * Creates a Predicate by name. 19 * 20 * @param name a logical name for a predicate 21 * @return An instance of Predicate 22 * @throws PredicateException If there is no registered Predicate for name. 23 */ 24 Predicate createPredicate(String name) 25 throws PredicateException; 26 }

This page was automatically generated by Maven