com.sun.msv.verifier.regexp

Class AnyElementToken


public final class AnyElementToken
extends ElementToken

special Token that matchs any element. this token is used only for error recovery, to compute "residual of elements of concern"(EoCR). EoCR is defined as follows
 EoCR(exp) := exp/e1 | exp/e2 | ... | exp/en
 
 {ei} = elements of concern
 exp/ei = residual(exp,ei)
 '|' represents choice
 
Author:
Kohsuke KAWAGUCHI

Field Summary

static Token
theInstance
use this singleton instance instead of creating an object.

Method Summary

boolean
match(ElementExp exp)

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

match, toString

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

match, match, match, match, match, matchAnyString

Field Details

theInstance

public static final Token theInstance
use this singleton instance instead of creating an object.

Method Details

match

public boolean match(ElementExp exp)
Overrides:
match in interface ElementToken