VGM implementation by using regular expression derivation algorithm.
This implementation bridges a gap between neutral grammar model (com.sun.msv.grammar) and Verifier grammar model (com.sun.msv.verifier).
This bridge is tuned for client-side use, where MSV is repeatedly invoked from command line. Particularly,
Also, this bridge covers full expressiveness of RELAX and TREX.
Those who are interested in the algorithm of this package may want to see the following resources.
| Modifier and Type | Class and Description |
|---|---|
| public class | AnyElementToken
special Token that matchs any element. |
| public class | AttributeFeeder
Feeds AttributeToken to the expression and obtains the residual (content model). |
| public class | AttributePicker
removes all unnecessary expressions and creates an expression that consists of required attributes and choices only. |
| public class | AttributePruner
Creates an expression whose AttributeExp is completely replaced by nullSet. |
| pack-priv class | AttributeRecoveryToken
special AttributeToken that memorizes |
| public class | AttributeRemover
Creates an expression whose AttributeExp is completely replaced by epsilon. |
| public class | AttributeToken
represents attribute and its value. |
| public class | CombinedChildContentExpCreator
creates "combined child content expression" and gathers "elements of concern" and its "attribute-pruned" content model. |
| public class | ComplexAcceptor
Accept that is used when more than one pattern can be applicable to the current context. |
| public abstract class | ComplexAcceptorBaseImpl
base implementation of ComplexAcceptor. |
| public abstract class | ContentModelAcceptor
base implementation for SimpleAcceptor and ComplexAcceptor |
| public class | ContentModelRefExpRemover
Non-recursive ReferenceExpRemover with a cache. |
| public class | ElementsOfConcernCollector
Collects "elements of concern". |
| public class | ElementToken
a token that represents an XML element. |
| public abstract class | ExpressionAcceptor
|
| pack-priv class | OptimizationTag
this object will be added to Expression.verifierTag to speed up typical validation. |
| public class | REDocumentDeclaration
|
| public class | ResidualCalculator
computes regular expression derivative. |
| public class | SimpleAcceptor
Acceptor that will be used when only one ElementExp matches the start tag. |
| public class | StringCareLevelCalculator
calculates how character literals should be treated. |
| pack-priv class | StringRecoveryToken
special StringToken that acts as a wild card. |
| public class | StringToken
chunk of string. |
| public abstract class | Token
primitive unit of XML instance. |