Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.p13n.rules.model
Interface RuleTypeRecognizer

All Known Implementing Classes:
  DefaultWLPRuleTypeRecognizer

    public interface RuleTypeRecognizer

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

An instance of a this needs to be registered with the RuleInfoSvc for a each configured rule type.

Method Summary
`RuleModel` | `createRuleModel(String ruleType)` Initialize a new, empty ruleModel of the specified ruleType.
`boolean` | `recognize(RuleModel model, String ruleType)` Check if the specified xml structure is an instance of the specified rule type.

Method Detail

### recognize

    boolean recognize(RuleModel model,
                      String ruleType)

  Check if the specified xml structure is an instance of the specified rule type.

### createRuleModel

    RuleModel createRuleModel(String ruleType)

  Initialize a new, empty ruleModel of the specified ruleType.

  Returns
    the rule model, null on unknown rule type.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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.