com.sun.msv.verifier.regexp.xmlschema
Class XSAcceptor
- Acceptor
Acceptor implementation for XSREDocDecl.
This class should be considered as a "quick-hack" to
better accomodate W3C XML Schema.
XMLSchemaNamespace
public static final String XMLSchemaNamespace
XSINamespace
public static final String XSINamespace
createChildAcceptor
public Acceptor createChildAcceptor(StartTagInfo sti,
StringRef refErr)
creates combined child acceptor and primitive child acceptors (if necessary).
be careful not to keep returned object too long because
it is reused whenever the method is called.
- createChildAcceptor in interface Acceptor
- createChildAcceptor in interface ExpressionAcceptor
- null
if errRef is null and this expression cannot accept given start tag.
if errRef is non-null and error recovery is not possible.
createClone
public Acceptor createClone()
clones this acceptor.
You can keep a "bookmark" of the acceptor by cloning it.
This is useful when you are trying to perform "partial validation".
Cloned acceptor will behave in exactly the same way as the original one.
- createClone in interface Acceptor
- createClone in interface SimpleAcceptor