com.sun.msv.verifier.regexp

Class ComplexAcceptor

public final class ComplexAcceptor extends ComplexAcceptorBaseImpl

Accept that is used when more than one pattern can be applicable to the current context.

Author: Kohsuke KAWAGUCHI

Field Summary
ElementExp[]owners
each item of this array should be considered as read-only.
Constructor Summary
ComplexAcceptor(REDocumentDeclaration docDecl, Expression combined, ElementExp[] primitives)
ComplexAcceptor(REDocumentDeclaration docDecl, Expression combined, Expression[] contentModels, ElementExp[] owners)
Method Summary
AcceptorcreateClone()
ElementExp[]getSatisfiedOwners()
collects satisfied ElementExps.

Field Detail

owners

public final ElementExp[] owners
each item of this array should be considered as read-only.

Constructor Detail

ComplexAcceptor

public ComplexAcceptor(REDocumentDeclaration docDecl, Expression combined, ElementExp[] primitives)

ComplexAcceptor

public ComplexAcceptor(REDocumentDeclaration docDecl, Expression combined, Expression[] contentModels, ElementExp[] owners)

Method Detail

createClone

public Acceptor createClone()

getSatisfiedOwners

public final ElementExp[] getSatisfiedOwners()
collects satisfied ElementExps. "satisfied ElementExps" are ElementExps whose contents is now epsilon reducible.