com.sun.msv.relaxns.verifier
Class RulesAcceptor
java.lang.Object
|
+--com.sun.msv.verifier.regexp.ExpressionAcceptor
|
+--com.sun.msv.verifier.regexp.ContentModelAcceptor
|
+--com.sun.msv.verifier.regexp.ComplexAcceptorBaseImpl
|
+--com.sun.msv.relaxns.verifier.RulesAcceptor
- All Implemented Interfaces:
- Acceptor
- public class RulesAcceptor
- extends ComplexAcceptorBaseImpl
Acceptor that is used to validate root node of the island.
This object receives RuleImpl
s and validates them.
- Author:
- Kohsuke KAWAGUCHI
RulesAcceptor
public RulesAcceptor(REDocumentDeclaration docDecl,
DeclImpl[] rules)
createClone
public Acceptor createClone()
- Description copied from interface:
Acceptor
- clones this acceptor.
You can keep a "bookmark" of the acceptor by cloning it.
This is useful when you are trying to perform "partial validation".
Cloned acceptor will behave in exactly the same way as the original one.