Class TREXSequencedStringChecker

java.lang.Object
com.sun.msv.reader.trex.TREXSequencedStringChecker
All Implemented Interfaces:
ExpressionVisitor

public class TREXSequencedStringChecker extends Object implements ExpressionVisitor
makes sure that there is no sequenced string. "sequenced string" is something like this. <oneOrMore> <string> abc </string> </oneOrMore> Also, TREX prohibits sequence of typed strings and elements.

In this checker, we introduce a function "f" that takes a string and computes the string-sensitivity of the pattern.

"f" returns 3 bits of information. One is whether it contains elements. Another is whehter it contains text. And the last is whether it contains DataExp/ValueExp.

"f" is computed recursively through the pattern.