Skip navigation links


com.bea.p13n.rules.model
Interface ClauseModelRecognizer

All Known Implementing Classes:
AddContentQueryModel.Recognizer, AddDiscountModel.Recognizer, AddEmailModel.Recognizer, AddSegmentModel.Recognizer, AddToPlaceholderModel.Recognizer, BranchModel.Recognizer, DateTimeBetweenModel.Recognizer, DateTimeModel.Recognizer, EndScenarioModel.Recognizer, EventTypeModel.Recognizer, InstanceMethodModel.Recognizer, NewInstanceModel.Recognizer, PropertyToLiteralModel.Recognizer, RuleModel.Recongizer, SegmentModel.Recognizer, StaticMethodModel.Recognizer, VariableBindingModel.Recognizer

public interface ClauseModelRecognizer

The interface for an object which can recognize rule clause types in xml structures.

An instance of a this needs to be registered with the RuleInfoSvc for a each configured clause type so that it will know what ClauseModel classes to instantiate.


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.

 

Method Detail

recognize

boolean recognize(org.apache.xmlbeans.XmlObject element,
                  String clauseType)
Check if the specified xml structure is an instance of the specified clause type.

Skip navigation links


Copyright © 2010, Oracle. All rights reserved.