Package | Description |
---|---|
uk.ac.sheffield.jast |
Readers for parsing XML to Java and writers for serialising Java to XML.
|
uk.ac.sheffield.jast.build |
Builders for constructing Java syntax trees by call-back from an XML parser.
|
uk.ac.sheffield.jast.valid |
Grammar readers and validation engines for validating XML documents.
|
uk.ac.sheffield.jast.xml |
Types that model the DOM-tree nodes of an XML document object model.
|
Modifier and Type | Field and Description |
---|---|
protected Lexicon |
BasicWriter.lexicon
The Lexicon used by this BasicWriter to encode escaped character data.
|
protected Lexicon |
BasicReader.lexicon
The lexicon used by this BasicReader to decode entity references.
|
Modifier and Type | Method and Description |
---|---|
Lexicon |
BasicWriter.getLexicon()
Returns the Lexicon used by this BasicWriter for encoding escaped
characters and boilerplate text.
|
Lexicon |
BasicReader.getLexicon()
Returns the Lexicon used by this BasicReader for decoding escaped
characters and boilerplate text.
|
Modifier and Type | Method and Description |
---|---|
void |
Metadata.processEntities(Lexicon lexicon,
java.lang.String encoding)
Processes the external and internal grammar subsets in order to find
any extra entity definitions.
|
void |
BasicWriter.setLexicon(Lexicon lexicon)
Replaces the Lexicon used by this BasicWriter for encoding escaped
characters and boilerplate text.
|
void |
BasicReader.setLexicon(Lexicon lexicon)
Replaces the Lexicon used by this BasicReader for decoding escaped
characters and boilerplate text.
|
Constructor and Description |
---|
BasicReader(BasicScanner scanner,
Lexicon lexicon)
Creates a BasicReader reading tokens from a BasicScanner created by
the subclass, and using a given Lexicon to decode entity references.
|
Modifier and Type | Field and Description |
---|---|
private Lexicon |
XMLParser.lexicon
The Lexicon used by this XMLParser to decode entity references.
|
protected Lexicon |
BasicBuilder.lexicon
The lexicon used by this BasicBuilder to decode character entity
references and expand string entity references.
|
Modifier and Type | Method and Description |
---|---|
Lexicon |
Builder.getLexicon()
Returns the Lexicon used by this Builder for decoding escaped
characters and boilerplate text.
|
Lexicon |
BasicBuilder.getLexicon()
Returns the Lexicon used by this BasicBuilder for decoding escaped
characters and boilerplate text.
|
Modifier and Type | Method and Description |
---|---|
void |
Builder.setLexicon(Lexicon lexicon)
Replaces the Lexicon used by this Builder for decoding escaped
characters and boilerplate text.
|
void |
BasicBuilder.setLexicon(Lexicon lexicon)
Replaces the Lexicon used by this BasicBuilder for decoding escaped
characters and boilerplate text.
|
Constructor and Description |
---|
DTDReader(java.io.File file,
Lexicon lexicon,
java.lang.String encoding)
Creates a DTDReader to read an external grammar from a file, updating
a Lexicon supplied by some other XML or AST reader.
|
DTDReader(java.io.Reader reader,
Lexicon lexicon,
java.lang.String encoding)
Creates a DTDReader to read an internal grammar from a character
Reader, updating a Lexicon supplied by some other XML or AST reader.
|
DTDReader(java.net.URL url,
Lexicon lexicon,
java.lang.String encoding)
Creates a DTDReader to read an external grammar from a URL, updating
a Lexicon supplied by some other XML or AST reader.
|
Modifier and Type | Method and Description |
---|---|
void |
Doctype.compileGrammar(Lexicon lexicon,
java.lang.String encoding)
Compiles the grammar represented by this Doctype, updating a Lexicon.
|