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

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

public static class SegmentModel.Recognizer
extends Object
implements ClauseModelRecognizer

An object which can recognize SegmentModels from xml.


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

SegmentModel.Recognizer

public SegmentModel.Recognizer()
Method Detail

recognize

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