com.sun.msv.verifier.regexp

Class ComplexAcceptor

Implemented Interfaces:
Acceptor

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.

Fields inherited from interface com.sun.msv.verifier.Acceptor

STRING_IGNORE, STRING_PROHIBITED, STRING_STRICT

Constructor Summary

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

Method Summary

Acceptor
createClone()
ElementExp[]
getSatisfiedOwners()
collects satisfied ElementExps.

Methods inherited from class com.sun.msv.verifier.regexp.ComplexAcceptorBaseImpl

onEndAttributes, onText2, stepForward

Methods inherited from class com.sun.msv.verifier.regexp.ContentModelAcceptor

getOwnerType, stepForward

Methods inherited from class com.sun.msv.verifier.regexp.ExpressionAcceptor

createChildAcceptor, getExpression, getStringCareLevel, isAcceptState, onAttribute, onAttribute2, onEndAttributes, onText, onText2, stepForwardByContinuation

Field Details

owners

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

Constructor Details

ComplexAcceptor

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

ComplexAcceptor

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

Method Details

createClone

public Acceptor createClone()
Specified by:
createClone in interface Acceptor

getSatisfiedOwners

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