reads RELAX NG grammar from SAX2 and constructs abstract grammar model.
ERR_BAD_DATA_VALUE
public static final String ERR_BAD_DATA_VALUE
ERR_BAD_FACET
public static final String ERR_BAD_FACET
ERR_INCONSISTENT_COMBINE
public static final String ERR_INCONSISTENT_COMBINE
ERR_INCONSISTENT_KEY_TYPE
public static final String ERR_INCONSISTENT_KEY_TYPE
ERR_INFOSET_URI_ATTRIBUTE
public static final String ERR_INFOSET_URI_ATTRIBUTE
ERR_INVALID_PARAMETERS
public static final String ERR_INVALID_PARAMETERS
ERR_MULTIPLE_EXCEPT
public static final String ERR_MULTIPLE_EXCEPT
ERR_NAKED_INFINITE_ATTRIBUTE_NAMECLASS
public static final String ERR_NAKED_INFINITE_ATTRIBUTE_NAMECLASS
ERR_NOT_ABSOLUTE_URI
public static final String ERR_NOT_ABSOLUTE_URI
ERR_REDEFINING_UNDEFINED
public static final String ERR_REDEFINING_UNDEFINED
ERR_UNDEFINED_DATATYPE_1
public static final String ERR_UNDEFINED_DATATYPE_1
ERR_UNDEFINED_KEY
public static final String ERR_UNDEFINED_KEY
ERR_UNKNOWN_DATATYPE_VOCABULARY_1
public static final String ERR_UNKNOWN_DATATYPE_VOCABULARY_1
ERR_XMLNS_ATTRIBUTE
public static final String ERR_XMLNS_ATTRIBUTE
RELAXNGNamespace
public static final String RELAXNGNamespace
Namespace URI of RELAX NG
endDocument
public void endDocument()
throws SAXException
endElement
public void endElement(String a,
String b,
String c)
throws SAXException
- endElement in interface TREXBaseReader
getCurrentDatatypeLibrary
public DatatypeLibrary getCurrentDatatypeLibrary()
getDatatypeLibraryFactory
public DatatypeLibraryFactory getDatatypeLibraryFactory()
Returns the datatypeLibraryFactory.
getRELAXNGSchema4Schema
public static Schema getRELAXNGSchema4Schema()
resolveDataType
public Datatype resolveDataType(String localName)
obtains a named DataType object referenced by a local name.
resolveDataTypeLibrary
public DatatypeLibrary resolveDataTypeLibrary(String uri)
obtains the DataTypeLibrary that represents the specified namespace URI.
If the specified URI is undefined, then this method issues an error to
the user and must return a dummy datatype library.
setDatatypeLibraryFactory
public void setDatatypeLibraryFactory(DatatypeLibraryFactory datatypeLibraryFactory)
Sets the datatypeLibraryFactory.
startDocument
public void startDocument()
throws SAXException
startElement
public void startElement(String a,
String b,
String c,
Attributes d)
throws SAXException
- startElement in interface TREXBaseReader