com.bea.p13n.rules.model
Class RuleModel.Recongizer

java.lang.Object
  extended by com.bea.p13n.rules.model.RuleModel.Recongizer
All Implemented Interfaces
ClauseModelRecognizer
Enclosing class:
RuleModel

public static class RuleModel.Recongizer
extends Object
implements ClauseModelRecognizer

An object which recognizes Xmlobjects that can be loaded into a RuleModel.


Constructor Summary
RuleModel.Recongizer()
           
 
Method Summary
 boolean recognize(org.apache.xmlbeans.XmlObject element, String clauseType)
          Check if the specified xml structure is an instance of the specified clause type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleModel.Recongizer

public RuleModel.Recongizer()
Method Detail

recognize

public boolean recognize(org.apache.xmlbeans.XmlObject element,
                         String clauseType)
Description copied from interface: ClauseModelRecognizer
Check if the specified xml structure is an instance of the specified clause type.

Specified by:
recognize in interface ClauseModelRecognizer


Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.