KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > orb > ParserAction


1 /*
2  * @(#)ParserAction.java 1.5 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.corba.se.impl.orb ;
9
10 import java.util.Properties JavaDoc ;
11
12 public interface ParserAction {
13     /** Return the property name or prefix for which this action
14      * is applied.
15      */

16     String JavaDoc getPropertyName() ;
17
18     /** Return whether this action is for an exact match or a prefix
19      * match (true).
20      */

21     boolean isPrefix() ;
22
23     /** Return the field name in an object that is set with the result
24      */

25     String JavaDoc getFieldName() ;
26
27     /** Apply this action to props and return the result.
28     */

29     Object JavaDoc apply( Properties JavaDoc props ) ;
30 }
31
Popular Tags