com.sun.msv.grammar.trex
Class ElementPattern
- NameClassAndExpression, Serializable
public class ElementPattern
<element> pattern of TREX.
equals , getExpandedExp , hashCode , isEpsilonReducible , peelOccurence , visit , visit , visit , visit , visit , visit , visit , visit |
getNameClass
public final NameClass getNameClass()
obtains a constraint over tag name.
ElementExp is cannot be shared because NameClass has to be mutable
to absorb the difference of RELAX and TREX.
In case of TREX, name class will be determined when parsing ElementExp itself.
Thus effectively it's immutable.
In case of RELAX, name class will be determined when its corresponding Clause
object is parsed.
- getNameClass in interface NameClassAndExpression
- getNameClass in interface ElementExp