com.sun.msv.verifier.regexp
Class REDocumentDeclaration
public
class
REDocumentDeclaration
extends Object
implements DocumentDeclaration
{@link DocumentDeclaration} implementation
Grammar object can be shared among multiple threads, but this object
cannot be shared.
REDocumentDeclaration always returns subclasses of {@link ExpressionAcceptor}
as the Acceptor implementation.
Author: Kohsuke KAWAGUCHI
the AttributeToken object which is re-used
Only one AttributeToken object is used during the
{@link Acceptor#onAttribute} method.
So instead of creating new object every time the method is called, we can
kept using one copy.
Note: other parts of the code may never rely on the fact that
the attribute token is cached and reused.
Note: this field should be accessed ONLY by the
{@link ExpressionAcceptor#onAttribute} method.
public static final String DIAG_BAD_ATTRIBUTE_VALUE_DATATYPE
public static final String DIAG_BAD_ATTRIBUTE_VALUE_GENERIC
public static final String DIAG_BAD_ATTRIBUTE_VALUE_MORE
public static final String DIAG_BAD_ATTRIBUTE_VALUE_SEPARATOR
public static final String DIAG_BAD_ATTRIBUTE_VALUE_WRAPUP
public static final String DIAG_BAD_KEY_VALUE
public static final String DIAG_BAD_KEY_VALUE2
public static final String DIAG_BAD_LITERAL_GENERIC
public static final String DIAG_BAD_LITERAL_INCORRECT_VALUE
public static final String DIAG_BAD_LITERAL_MORE
public static final String DIAG_BAD_LITERAL_SEPARATOR
public static final String DIAG_BAD_LITERAL_WRAPUP
public static final String DIAG_BAD_TAGNAME_GENERIC
public static final String DIAG_BAD_TAGNAME_MORE
public static final String DIAG_BAD_TAGNAME_PROBABLY_WRONG_NAMESPACE
public static final String DIAG_BAD_TAGNAME_SEPARATOR
public static final String DIAG_BAD_TAGNAME_WRAPUP
public static final String DIAG_BAD_TAGNAME_WRONG_NAMESPACE
public static final String DIAG_CONTENT_MODEL_IS_NULLSET
public static final String DIAG_ELEMENT_NOT_ALLOWED
public static final String DIAG_MISSING_ATTRIBUTE_GENERIC
public static final String DIAG_MISSING_ATTRIBUTE_MORE
public static final String DIAG_MISSING_ATTRIBUTE_SEPARATOR
public static final String DIAG_MISSING_ATTRIBUTE_SIMPLE
public static final String DIAG_MISSING_ATTRIBUTE_WRAPUP
public static final String DIAG_NAMESPACE_NAMECLASS
public static final String DIAG_NOT_NAMESPACE_NAMECLASS
public static final String DIAG_SIMPLE_NAMECLASS
public static final String DIAG_STRING_NOT_ALLOWED
public static final String DIAG_UNCOMPLETED_CONTENT_MORE
public static final String DIAG_UNCOMPLETED_CONTENT_SEPARATOR
public static final String DIAG_UNCOMPLETED_CONTENT_WRAPUP
public static final String DIAG_UNDECLARED_ATTRIBUTE
ExpressionPool object that this VGM uses.
public REDocumentDeclaration(
Grammar grammar)
creates an object that validates the specified expression.
public String localizeMessage(String propertyName, Object[] args)
public final String localizeMessage(String propName, Object arg1)
public final String localizeMessage(String propName, Object arg1, Object arg2)