- scanAnyContent() - Method in class uk.ac.sheffield.jast.BasicScanner
-
Scans the input stream for arbitrary XML or DTD content, populating
the token stream.
- scanAnyContent() - Method in class uk.ac.sheffield.jast.valid.DTDScanner
-
Scans the input stream for arbitrary DTD content, populating the token
stream.
- scanAnyContent() - Method in class uk.ac.sheffield.jast.XMLScanner
-
Scans the input stream for arbitrary XML content, populating the token
stream.
- scanAttlistDefinition() - Method in class uk.ac.sheffield.jast.valid.DTDScanner
-
Scans the input stream expecting an ATTLIST definition.
- scanAttribute() - Method in class uk.ac.sheffield.jast.XMLScanner
-
Scans an attribute-value pair.
- scanCloseElement() - Method in class uk.ac.sheffield.jast.XMLScanner
-
Scans an XML element closing tag.
- scanComment() - Method in class uk.ac.sheffield.jast.valid.DTDScanner
-
Scans an XML comment.
- scanComment() - Method in class uk.ac.sheffield.jast.XMLScanner
-
Scans an XML comment.
- scanCompoundGrammar(int) - Method in class uk.ac.sheffield.jast.valid.DTDScanner
-
Scans a compound DTD grammar expression.
- scanDeclaration() - Method in class uk.ac.sheffield.jast.XMLScanner
-
Scans the opening XML declaration.
- scanDoctype() - Method in class uk.ac.sheffield.jast.XMLScanner
-
Scans a Doctype declaration.
- scanElementDefinition() - Method in class uk.ac.sheffield.jast.valid.DTDScanner
-
Scans the input stream expecting an ELEMENT definition.
- scanEntityDefinition() - Method in class uk.ac.sheffield.jast.valid.DTDScanner
-
Scans the input stream expecting an ENTITY definition.
- scanEntityReference() - Method in class uk.ac.sheffield.jast.BasicScanner
-
Parses an XML entity reference.
- scanEnumRange() - Method in class uk.ac.sheffield.jast.valid.DTDScanner
-
Scans an enumerated range type.
- scanEscapedData() - Method in class uk.ac.sheffield.jast.XMLScanner
-
Scans escaped character data inside a CDATA section.
- scanExactly(String) - Method in class uk.ac.sheffield.jast.BasicScanner
-
Checks that the input contains the exact token next on the stream.
- scanInstruction() - Method in class uk.ac.sheffield.jast.XMLScanner
-
Scans an XML processing instruction.
- scanKeyword() - Method in class uk.ac.sheffield.jast.BasicScanner
-
Scans a DTD keyword.
- scanMultiplicity(boolean) - Method in class uk.ac.sheffield.jast.valid.DTDScanner
-
Scans the optional multiplicity marker after a name token or compound
expression.
- scanNameToken() - Method in class uk.ac.sheffield.jast.BasicScanner
-
Scans an XML name token.
- scanner - Variable in class uk.ac.sheffield.jast.BasicReader
-
The scanner used by this BasicReader to scan the input data.
- scanner - Static variable in class uk.ac.sheffield.jast.test.TestDTDScanner
-
- scanner - Variable in class uk.ac.sheffield.jast.xpath.XPathCompiler
-
The StringReader that reads characters one at a time from the XPath
query pattern.
- scanOpenElement() - Method in class uk.ac.sheffield.jast.XMLScanner
-
Scans an XML element opening tag.
- scanQuotedValue() - Method in class uk.ac.sheffield.jast.BasicScanner
-
Scans a quoted value-string.
- scanTextContent() - Method in class uk.ac.sheffield.jast.XMLScanner
-
Scans non-markup content as PCDATA text.
- scanTokens() - Static method in class uk.ac.sheffield.jast.test.TestDTDScanner
-
Scans all the DTD tokens in a DTD file, or from a DTD stream.
- schemaDoctype - Static variable in class uk.ac.sheffield.jast.xml.XMLSchema
-
The non-normative W3C Doctype specification for an XML schema.
- schemaRoot - Variable in class uk.ac.sheffield.jast.valid.XSDCompiler
-
The XML schema root analysed by this XSDCompiler.
- searchSiblings(Content) - Method in class uk.ac.sheffield.jast.filter.IndexFilter
-
Pre-caches the target of a sibling search.
- second - Variable in class uk.ac.sheffield.jast.filter.AndFilter
-
The second Filter in the combination.
- second - Variable in class uk.ac.sheffield.jast.filter.OrFilter
-
The second Filter in the combination.
- seek() - Method in class uk.ac.sheffield.jast.xml.XMLIterator
-
Secret method to seek the next Content node that is accepted by a
Filter.
- SELECTION_MARK - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the selection separator '|' mark.
- SelectionRule - Class in uk.ac.sheffield.jast.valid
-
SelectionRule is a kind of CompoundRule for matching a choice of patterns.
- SelectionRule() - Constructor for class uk.ac.sheffield.jast.valid.SelectionRule
-
Creates a SelectionRule, whose rule children are alternative patterns, of
which one must match.
- SelfAxisRule - Class in uk.ac.sheffield.jast.xpath
-
SelfAxisRule is an XPathRule that selects self, the current context node.
- SelfAxisRule() - Constructor for class uk.ac.sheffield.jast.xpath.SelfAxisRule
-
Creates a SelfAxisRule that returns any context node.
- SelfAxisRule(Filter) - Constructor for class uk.ac.sheffield.jast.xpath.SelfAxisRule
-
Creates a SelfAxisRule that returns any context node passed by a Filter.
- semanticError(String) - Method in class uk.ac.sheffield.jast.Logging
-
Reports model-building error, when the model constraints are violated.
- semanticError(String) - Method in class uk.ac.sheffield.jast.Marshaller
-
Reports model-building error, when the model constraints are violated.
- SemanticError - Error in uk.ac.sheffield.jast
-
SemanticError reports a failure to build a given node in the syntax tree.
- SemanticError(String) - Constructor for error uk.ac.sheffield.jast.SemanticError
-
Creates a SemanticError with the given error message.
- SemanticError(String, int) - Constructor for error uk.ac.sheffield.jast.SemanticError
-
Creates a SemanticError with the given error message and line number.
- semanticError(String) - Method in class uk.ac.sheffield.jast.Unmarshaller
-
Reports model-building error, when the model constraints are violated.
- semanticError(String, Element) - Method in class uk.ac.sheffield.jast.valid.XSDCompiler
-
Throws a SemanticError giving full diagnostic information.
- SEQUENCE_MARK - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the sequence separator ',' mark.
- SequenceRule - Class in uk.ac.sheffield.jast.valid
-
SequenceRule is a kind of CompoundRule for matching a sequence of patterns.
- SequenceRule() - Constructor for class uk.ac.sheffield.jast.valid.SequenceRule
-
Creates a SequenceRule, whose rule children are patterns to match in
the given sequential order.
- setBuilder(Builder) - Method in class uk.ac.sheffield.jast.build.XMLParser
-
Sets the builder to be used by this push-parser to construct the
in-memory document object model.
- setChildIndex(int) - Method in class uk.ac.sheffield.jast.valid.ElementRule
-
Sets the child index at which the next rule starts matching.
- setChildIndex(int) - Method in class uk.ac.sheffield.jast.valid.GrammarRule
-
Sets the child index at which the next GrammarRule starts matching.
- setContent(String) - Method in class uk.ac.sheffield.jast.ast.Film
-
- setContent(String) - Method in class uk.ac.sheffield.jast.ast.Named
-
- setContent(Object, String) - Method in class uk.ac.sheffield.jast.Unmarshaller
-
Sets the information content of a given AST object.
- setDate(int) - Method in class uk.ac.sheffield.jast.ast.Show
-
- setDeclaration(Declaration) - Method in class uk.ac.sheffield.jast.xml.Document
-
Sets the XML declaration associated with this Document.
- setDeclaration(Declaration) - Method in class uk.ac.sheffield.jast.xml.XMLSchema
-
Sets the XML declaration associated with this XMLSchema.
- setDoctype(Doctype) - Method in class uk.ac.sheffield.jast.xml.Document
-
Sets the optional XML Doctype associated with this Document.
- setDoctype(Doctype) - Method in class uk.ac.sheffield.jast.xml.XMLSchema
-
Sets the optional XML Doctype associated with this XMLSchema.
- setEncoding(String) - Method in class uk.ac.sheffield.jast.xml.Declaration
-
Sets the character encoding to be declared by this Declaration.
- setEncoding(String) - Method in class uk.ac.sheffield.jast.xml.Document
-
Sets the character encoding associated with this Document.
- setEncoding(String) - Method in class uk.ac.sheffield.jast.xml.XMLSchema
-
Sets the character encoding associated with this Document.
- setError(String, Content) - Method in class uk.ac.sheffield.jast.valid.GrammarRule
-
Secret method to record the latest mismatch error.
- setInternal(String) - Method in class uk.ac.sheffield.jast.xml.Doctype
-
Sets the internal grammar subset defined by this Doctype.
- setLexicon(Lexicon) - Method in class uk.ac.sheffield.jast.BasicReader
-
Replaces the Lexicon used by this BasicReader for decoding escaped
characters and boilerplate text.
- setLexicon(Lexicon) - Method in class uk.ac.sheffield.jast.BasicWriter
-
Replaces the Lexicon used by this BasicWriter for encoding escaped
characters and boilerplate text.
- setLexicon(Lexicon) - Method in class uk.ac.sheffield.jast.build.BasicBuilder
-
Replaces the Lexicon used by this BasicBuilder for decoding escaped
characters and boilerplate text.
- setLexicon(Lexicon) - Method in interface uk.ac.sheffield.jast.build.Builder
-
Replaces the Lexicon used by this Builder for decoding escaped
characters and boilerplate text.
- setMetadata(Metadata) - Method in class uk.ac.sheffield.jast.ASTReader
-
Imports the supplied Metadata into this ASTReader.
- setMetadata(Metadata) - Method in class uk.ac.sheffield.jast.ASTWriter
-
Imports the supplied Metadata into this ASTWriter.
- setName(String) - Method in class uk.ac.sheffield.jast.xml.Markup
-
Secret method to validate XML name identifiers.
- setOptional(boolean) - Method in class uk.ac.sheffield.jast.valid.UnorderedRule
-
Sets the optional flag of this UnorderedRule.
- setParent(GrammarRule) - Method in class uk.ac.sheffield.jast.valid.GrammarRule
-
Secret method to install the parent GrammarRule of this GrammarRule.
- setParent(Content) - Method in class uk.ac.sheffield.jast.xml.Content
-
Secret method used to install a parent Content node.
- setParent(Content) - Method in class uk.ac.sheffield.jast.xml.Document
-
Disallows adding this Document to any other Content node.
- setParser(XMLParser) - Method in class uk.ac.sheffield.jast.build.BasicBuilder
-
Sets the back-reference to the XMLParser which is using this Builder.
- setParser(XMLParser) - Method in interface uk.ac.sheffield.jast.build.Builder
-
Sets a back-reference to the XMLParser which is using this Builder.
- setPrefix(String) - Method in class uk.ac.sheffield.jast.xml.Markup
-
Secret method to validate XML prefix identifiers.
- setProductions(List<ElementRule>) - Method in class uk.ac.sheffield.jast.valid.DTDReader
-
Installs an ordered list of ElementRule grammar productions in this
DTDReader.
- setProperty(String, String) - Method in class uk.ac.sheffield.jast.Metadata
-
Stores the value of an XML metadata attribute.
- setProperty(Object, String, String) - Method in class uk.ac.sheffield.jast.Unmarshaller
-
Sets a property of an AST object to the given value.
- setPublicID(String) - Method in class uk.ac.sheffield.jast.xml.Doctype
-
Sets the public ID of this Doctype to the given FPI identifier.
- setRating(String) - Method in class uk.ac.sheffield.jast.ast.Show
-
- setRequired(boolean) - Method in class uk.ac.sheffield.jast.valid.AttributeRule
-
Sets whether this AttributeRule is for a required attribute.
- setRootElement(Element) - Method in class uk.ac.sheffield.jast.xml.Document
-
Sets the root Element of this Document.
- setRootElement(Element) - Method in class uk.ac.sheffield.jast.xml.XMLSchema
-
Sets the root Element of this XMLSchema.
- setRootID(String) - Method in class uk.ac.sheffield.jast.xml.Doctype
-
Sets the root Element identifier defined by this Doctype's grammar.
- setStandalone(String) - Method in class uk.ac.sheffield.jast.xml.Doctype
-
Secretly updates the standalone property of the related Declaration.
- setSystemID(String) - Method in class uk.ac.sheffield.jast.xml.Doctype
-
Sets the system ID of this Doctype to the given URI pathname.
- setTabString(String) - Method in class uk.ac.sheffield.jast.XMLStreamer
-
Sets the current tabulation string.
- setText(String) - Method in class uk.ac.sheffield.jast.xml.Comment
-
Sets the textual content of this Comment to the given comment text.
- setText(String) - Method in class uk.ac.sheffield.jast.xml.Data
-
Sets the textual content of this Data node to the given data.
- setText(String) - Method in class uk.ac.sheffield.jast.xml.Element
-
Sets the whole content of this Element to the supplied text.
- setText(String) - Method in class uk.ac.sheffield.jast.xml.Text
-
Sets the textual content of this Text node to the given text.
- setValidation(Validation) - Method in class uk.ac.sheffield.jast.BasicReader
-
Sets the level of automatic validation performed by XML/AST readers.
- setValidation(Validation) - Method in class uk.ac.sheffield.jast.build.BasicBuilder
-
Sets the level of automatic validation performed by XML/AST builders.
- setValue(String) - Method in class uk.ac.sheffield.jast.xml.Attribute
-
Sets the value of this Attribute.
- setValue(String, String) - Method in class uk.ac.sheffield.jast.xml.Declaration
-
Sets the value of a named Attribute of this Declaration.
- setValue(String, String) - Method in class uk.ac.sheffield.jast.xml.Descriptor
-
Sets the value of a named Attribute of this Descriptor.
- setValue(String, String) - Method in class uk.ac.sheffield.jast.xml.Doctype
-
Sets the value of a named Attribute of this Doctype.
- setValue(String, String) - Method in class uk.ac.sheffield.jast.xml.Element
-
Sets the value of a named Attribute of this Element.
- setValue(String, String) - Method in class uk.ac.sheffield.jast.xml.Instruction
-
Sets the value of a named Attribute of this Instruction.
- setVersion(String) - Method in class uk.ac.sheffield.jast.xml.Declaration
-
Sets the XML version to be declared by this Declaration.
- setVersion(String) - Method in class uk.ac.sheffield.jast.xml.Document
-
Sets the XML version associated with this Document.
- setVersion(String) - Method in class uk.ac.sheffield.jast.xml.XMLSchema
-
Sets the XML version associated with this Document.
- SHORT - Static variable in class uk.ac.sheffield.jast.filter.NumberFilter
-
- Show - Class in uk.ac.sheffield.jast.ast
-
Show is an example AST node generalising the Film and TVShow AST nodes.
- Show() - Constructor for class uk.ac.sheffield.jast.ast.Show
-
- shows - Variable in class uk.ac.sheffield.jast.ast.Catalogue
-
- signed - Variable in class uk.ac.sheffield.jast.filter.NumberFilter
-
A flag indicating that a primitive integral type may be signed.
- simple - Variable in class uk.ac.sheffield.jast.filter.NameFilter
-
A flag indicating whether the reference name is a simple name (true),
or a full identifier (false) prefixed with a namespace identifier and
colon.
- simple - Variable in class uk.ac.sheffield.jast.filter.NameSetFilter
-
A flag indicating whether the reference names are simple names (true),
or full identifiers (false) prefixed with a namespace identifier and
colon.
- simpleFilters - Variable in class uk.ac.sheffield.jast.valid.XSDCompiler
-
A dictionary of Filter objects, indexed by XSD simple type name.
- SimpleRule - Class in uk.ac.sheffield.jast.valid
-
SimpleRule is the abstract ancestor of all atomic XML grammar rules.
- SimpleRule(String) - Constructor for class uk.ac.sheffield.jast.valid.SimpleRule
-
Creates an SimpleRule.
- skipSpace() - Method in class uk.ac.sheffield.jast.BasicScanner
-
Skips whitespace characters.
- skipSpace() - Method in class uk.ac.sheffield.jast.build.XMLParser
-
Skips whitespace characters.
- skipSpace() - Method in class uk.ac.sheffield.jast.xpath.XPathCompiler
-
Skips whitespace characters.
- SPACE_TEXT - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting whitespace text.
- START_ATTLIST - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the start of an ATTLIST declaration.
- START_CDATA - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the start of a CDATA section.
- START_CLOSING - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the start of an element closing-tag.
- START_COMMENT - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the start of an XML comment.
- START_DIRECTIVE - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the start of an XML directive.
- START_DOCTYPE - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the start of a DOCTYPE declaration.
- START_ELEMENT - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the start of an ELEMENT declaration.
- START_ENTITY - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the start of an ENTITY declaration.
- START_OF_INPUT - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the start of the input stream.
- START_OPENING - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the start of an element opening-tag.
- startDeclaration(String) - Method in class uk.ac.sheffield.jast.build.BasicBuilder
-
Starts to process the XML declaration.
- startDeclaration(String) - Method in interface uk.ac.sheffield.jast.build.Builder
-
Starts to process the XML declaration.
- startDeclaration(String) - Method in class uk.ac.sheffield.jast.build.XMLBuilder
-
Starts to process the XML declaration.
- startDoctype(String) - Method in class uk.ac.sheffield.jast.build.ASTBuilder
-
Starts to process an XML doctype declaration.
- startDoctype(String) - Method in class uk.ac.sheffield.jast.build.BasicBuilder
-
Starts to process an XML doctype declaration.
- startDoctype(String) - Method in interface uk.ac.sheffield.jast.build.Builder
-
Starts to process an XML doctype declaration.
- startDoctype(String) - Method in class uk.ac.sheffield.jast.build.XMLBuilder
-
Starts to process an XML doctype declaration.
- startDocument() - Method in class uk.ac.sheffield.jast.build.BasicBuilder
-
Starts to process the XML document.
- startDocument() - Method in interface uk.ac.sheffield.jast.build.Builder
-
Starts to process the XML document.
- startDocument() - Method in class uk.ac.sheffield.jast.build.XMLBuilder
-
Starts to construct a Document.
- startElement(String) - Method in class uk.ac.sheffield.jast.build.ASTBuilder
-
Starts to construct the AST node for an element with the given name.
- startElement(String) - Method in class uk.ac.sheffield.jast.build.BasicBuilder
-
Starts to process an XML element.
- startElement(String) - Method in interface uk.ac.sheffield.jast.build.Builder
-
Starts to process an XML element.
- startElement(String) - Method in class uk.ac.sheffield.jast.build.XMLBuilder
-
Starts to process an XML element.
- startInstruction(String) - Method in class uk.ac.sheffield.jast.build.ASTBuilder
-
Starts to process an XML processing instruction.
- startInstruction(String) - Method in class uk.ac.sheffield.jast.build.BasicBuilder
-
Starts to process an XML processing instruction.
- startInstruction(String) - Method in interface uk.ac.sheffield.jast.build.Builder
-
Starts to process an XML processing instruction.
- startInstruction(String) - Method in class uk.ac.sheffield.jast.build.XMLBuilder
-
Starts to process an XML processing instruction.
- streamer - Variable in class uk.ac.sheffield.jast.BasicWriter
-
The XMLStreamer used by this BasicWriter to stream the output data.
- STRING - Static variable in class uk.ac.sheffield.jast.filter.RestrictFilter
-
A constant indicating that lexicographical comparison will be
performed.
- stringValue - Variable in class uk.ac.sheffield.jast.filter.RestrictFilter
-
- SubtreeAxisRule - Class in uk.ac.sheffield.jast.xpath
-
SubtreeAxisRule is an XPathRule that selects the context and all of its
descendants.
- SubtreeAxisRule() - Constructor for class uk.ac.sheffield.jast.xpath.SubtreeAxisRule
-
Creates a SubtreeAxisRule that returns the whole Content subtree.
- SubtreeAxisRule(Filter) - Constructor for class uk.ac.sheffield.jast.xpath.SubtreeAxisRule
-
Creates a SubtreeAxisRule that accepts only Content nodes passed by the
supplied Filter.
- symbolStack - Variable in class uk.ac.sheffield.jast.ASTWriter
-
The stack of processed XML symbols.
- symbolStack - Variable in class uk.ac.sheffield.jast.BasicScanner
-
The stack of where we are in the parse of tokens.
- symbolStack - Variable in class uk.ac.sheffield.jast.build.XMLParser
-
The token stack used to remember where we are in the document.
- synchronizeCharacters() - Method in class uk.ac.sheffield.jast.Lexicon
-
Synchronises the character decoding and encoding dictionaries.
- syntaxError(String) - Method in class uk.ac.sheffield.jast.Logging
-
Reports an XML syntax error, when badly-formed XML syntax is detected.
- SyntaxError - Error in uk.ac.sheffield.jast
-
SyntaxError reports illegal XML syntax, while reading an XML document.
- SyntaxError(String) - Constructor for error uk.ac.sheffield.jast.SyntaxError
-
Creates a SyntaxError with the given error message.
- SyntaxError(String, int) - Constructor for error uk.ac.sheffield.jast.SyntaxError
-
Creates a SyntaxError with the given error message and line number.
- syntaxError(String) - Method in class uk.ac.sheffield.jast.xpath.XPathCompiler
-
Reports a syntax error, when badly-formed XPath syntax is detected.
- syntaxTree - Variable in class uk.ac.sheffield.jast.ASTReader
-
The root of the Java abstract syntax tree.
- syntaxTree - Variable in class uk.ac.sheffield.jast.build.ASTBuilder
-
The root of the Java abstract syntax tree.