com.bea.p13n.rules.model
Class NewInstanceModel.Recognizer

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

public static class NewInstanceModel.Recognizer
extends Object
implements ClauseModelRecognizer

An object which can recognize the structure for this model.


Constructor Summary
NewInstanceModel.Recognizer()
           
 
Method Summary
 boolean recognize(org.apache.xmlbeans.XmlObject clause, 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

NewInstanceModel.Recognizer

public NewInstanceModel.Recognizer()
Method Detail

recognize

public boolean recognize(org.apache.xmlbeans.XmlObject clause,
                         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.