- ELEMENT - Static variable in class uk.ac.sheffield.jast.xml.Content
-
A constant denoting the Element content-type.
- Element - Class in uk.ac.sheffield.jast.xml
-
Element is the node standing for an XML element in an XML document.
- Element(String) - Constructor for class uk.ac.sheffield.jast.xml.Element
-
Creates a new Element with the given identifier, or short name.
- Element(String, String) - Constructor for class uk.ac.sheffield.jast.xml.Element
-
Creates a new Element with the given prefix and name.
- elementChildren - Static variable in class uk.ac.sheffield.jast.xml.Element
-
A Filter accepting only the child-Elements of this Element.
- elementContent - Static variable in class uk.ac.sheffield.jast.xml.Element
-
A Filter accepting only the kinds of node that are legal contents
for an Element node.
- ElementRule - Class in uk.ac.sheffield.jast.valid
-
ElementRule is a GrammarRule that accepts Elements with a given name and
subtree structure.
- ElementRule(String) - Constructor for class uk.ac.sheffield.jast.valid.ElementRule
-
Creates an ElementRule to match an Element with the given identifier.
- elementRules - Variable in class uk.ac.sheffield.jast.valid.XSDCompiler
-
A dictionary of ElementRule objects, indexed by XSD element name.
- elementText - Static variable in class uk.ac.sheffield.jast.xml.Element
-
A Filter accepting only the kinds of node that are deemed to be
the textual content of an Element node.
- EmptyContentRule - Class in uk.ac.sheffield.jast.valid
-
EmptyContentRule is a SimpleRule that accepts Elements with no contents.
- EmptyContentRule() - Constructor for class uk.ac.sheffield.jast.valid.EmptyContentRule
-
Creates a EmptyContentRule.
- encodeCharacterEntity(char) - Method in class uk.ac.sheffield.jast.Lexicon
-
Encodes a character as an XML character entity reference.
- encodeStringEntity(String) - Method in class uk.ac.sheffield.jast.Lexicon
-
Encodes boilerplate text as an XML string entity reference.
- encodeText(String) - Method in class uk.ac.sheffield.jast.Lexicon
-
Main public method for encoding any kind of text for storage in XML.
- encoding - Variable in class uk.ac.sheffield.jast.BasicScanner
-
The name of the character set used when decoding characters from bytes.
- encoding - Variable in class uk.ac.sheffield.jast.build.XMLParser
-
The name of the character set used when decoding characters from bytes.
- encoding - Variable in class uk.ac.sheffield.jast.XMLStreamer
-
The name of the character set used when encoding characters into bytes.
- encodingError(String) - Method in class uk.ac.sheffield.jast.Logging
-
Reports an encoding error, when an XML file is read with the wrong
character encoding.
- END_CDATA - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the end of a CDATA section.
- END_CLOSING - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the end of an element closing-tag.
- END_COMMENT - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the end of an XML comment.
- END_DIRECTIVE - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the end of an XML directive.
- END_DOCTYPE - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the end of any DTD definition.
- END_OF_INPUT - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the end of the input stream.
- END_OPENING - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the end of an element opening-tag.
- endDeclaration() - Method in class uk.ac.sheffield.jast.build.ASTBuilder
-
Finishes processing the XML declaration.
- endDeclaration() - Method in class uk.ac.sheffield.jast.build.BasicBuilder
-
Finishes processing the XML declaration.
- endDeclaration() - Method in interface uk.ac.sheffield.jast.build.Builder
-
Finishes processing the XML declaration.
- endDeclaration() - Method in class uk.ac.sheffield.jast.build.XMLBuilder
-
Finishes processing the XML declaration.
- endDoctype() - Method in class uk.ac.sheffield.jast.build.ASTBuilder
-
Finishes processing an XML doctype declaration.
- endDoctype() - Method in class uk.ac.sheffield.jast.build.BasicBuilder
-
Finishes processing an XML doctype declaration.
- endDoctype() - Method in interface uk.ac.sheffield.jast.build.Builder
-
Finishes processing an XML doctype declaration.
- endDoctype() - Method in class uk.ac.sheffield.jast.build.XMLBuilder
-
Finishes processing an XML doctype declaration.
- endDocument() - Method in class uk.ac.sheffield.jast.build.BasicBuilder
-
Finishes processing the XML document.
- endDocument() - Method in interface uk.ac.sheffield.jast.build.Builder
-
Finishes processing the XML document.
- endDocument() - Method in class uk.ac.sheffield.jast.build.XMLBuilder
-
Finishes processing the XML document.
- endElement() - Method in class uk.ac.sheffield.jast.build.ASTBuilder
-
Finishes constructing an AST node.
- endElement() - Method in class uk.ac.sheffield.jast.build.BasicBuilder
-
Finishes processing an XML element.
- endElement() - Method in interface uk.ac.sheffield.jast.build.Builder
-
Finishes processing an XML element.
- endElement() - Method in class uk.ac.sheffield.jast.build.XMLBuilder
-
Finishes processing an XML element.
- endInstruction() - Method in class uk.ac.sheffield.jast.build.BasicBuilder
-
Finishes processing an XML processing instruction.
- endInstruction() - Method in interface uk.ac.sheffield.jast.build.Builder
-
Finishes processing an XML processing instruction.
- endInstruction() - Method in class uk.ac.sheffield.jast.build.XMLBuilder
-
Finishes processing an XML processing instruction.
- endOfStream() - Method in class uk.ac.sheffield.jast.BasicReader
-
Secretly reports whether the end of the input stream has been reached.
- endOfStream() - Method in class uk.ac.sheffield.jast.BasicScanner
-
Reports whether the end of the input stream has been reached.
- endOfStream() - Method in class uk.ac.sheffield.jast.BasicWriter
-
Secretly reports whether the end of the underlying XMLStreamer was
reached prematurely.
- endOfStream() - Method in class uk.ac.sheffield.jast.build.BasicBuilder
-
Reports whether the end of input had been reached when an error was
detected.
- endOfStream() - Method in class uk.ac.sheffield.jast.build.XMLParser
-
Reports whether the end of the input stream has been reached.
- endOfStream() - Method in class uk.ac.sheffield.jast.Logging
-
Reports whether the end of the input or output stream has been
reached.
- ENTITY_REF - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting an XML entity reference.
- ENUM_RANGE - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting an enumerated range.
- EQUALS - Static variable in class uk.ac.sheffield.jast.filter.EvalFilter
-
- error(String) - Method in class uk.ac.sheffield.jast.xml.XMLSchema
-
Raises a SemanticError with this XMLSchema as the context.
- errorContext - Static variable in class uk.ac.sheffield.jast.valid.GrammarRule
-
Stores the last context where mismatch occurred.
- errorReason - Static variable in class uk.ac.sheffield.jast.valid.GrammarRule
-
Stores the last global reason for the mismatch.
- ESCAPE_TEXT - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting escaped text.
- EvalFilter - Class in uk.ac.sheffield.jast.filter
-
EvalFilter is an abstract Filter that evaluates an inequality relation on
a node.
- EvalFilter(EvalFilter, int) - Constructor for class uk.ac.sheffield.jast.filter.EvalFilter
-
Secret constructor to copy an EvalFilter but reset the type mask.
- EvalFilter(String) - Constructor for class uk.ac.sheffield.jast.filter.EvalFilter
-
Creates an EvalFilter for testing any node with content.
- EvalFilter(String, int) - Constructor for class uk.ac.sheffield.jast.filter.EvalFilter
-
Creates an EvalFilter testing the content of a given node type.