Home » xmlbeans-2.5.0-src » org.apache » xmlbeans » [javadoc | source]

    1   /*   Copyright 2004 The Apache Software Foundation
    2   *
    3   *   Licensed under the Apache License, Version 2.0 (the "License");
    4   *   you may not use this file except in compliance with the License.
    5   *   You may obtain a copy of the License at
    6   *
    7   *       http://www.apache.org/licenses/LICENSE-2.0
    8   *
    9   *   Unless required by applicable law or agreed to in writing, software
   10   *   distributed under the License is distributed on an "AS IS" BASIS,
   11   *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   12   *   See the License for the specific language governing permissions and
   13   *  limitations under the License.
   14   */
   15   
   16   package org.apache.xmlbeans;
   17   
   18   public interface PrePostExtension
   19   {
   20       /** Operation code for setting a property. */
   21       int OPERATION_SET = 1;
   22   
   23       /** Operation code for inserting a property. */
   24       int OPERATION_INSERT = 2;
   25   
   26       /** Operation code for removing a property. */
   27       int OPERATION_REMOVE = 3;
   28   
   29       /**
   30        * Get the fully qualified static handler class name.
   31        */
   32       String getStaticHandler();
   33   
   34       /**
   35        * Returns true if the static handler class has a preSet() method
   36        * with the following signature:
   37        * <br>
   38        * <code>public static boolean preSet(int, org.apache.xmlbeans.XmlObject, javax.xml.namespace.QName, boolean, int};</code>
   39        */
   40       boolean hasPreCall();
   41   
   42       /**
   43        * Returns true if the static handler class has a preSet() method
   44        * with the following signature:
   45        * <br>
   46        * <code>public static void postSet(int, org.apache.xmlbeans.XmlObject, javax.xml.namespace.QName, boolean, int};</code>
   47        */
   48       boolean hasPostCall();
   49   
   50   }

Home » xmlbeans-2.5.0-src » org.apache » xmlbeans » [javadoc | source]