- Catalogue - Class in uk.ac.sheffield.jast.ast
-
Catalogue is an example AST node representing a film and TV catalogue.
- Catalogue() - Constructor for class uk.ac.sheffield.jast.ast.Catalogue
-
- charDecoder - Variable in class uk.ac.sheffield.jast.Lexicon
-
The map from entity references to encoded characters.
- charEncoder - Variable in class uk.ac.sheffield.jast.Lexicon
-
The map from encoded characters to entity references.
- checkDomainName(String) - Method in class uk.ac.sheffield.jast.Metadata
-
Validates the syntax of a domain name or Java package name.
- checkElementNames(Element) - Method in class uk.ac.sheffield.jast.xml.XMLSchema
-
Checks the names of the elements in this schema.
- checkEncoding(String, String) - Method in class uk.ac.sheffield.jast.BasicReader
-
Checks that the declared character encoding matches the actual
character encoding used to decode the XML file.
- checkEncoding(String, String) - Method in class uk.ac.sheffield.jast.BasicWriter
-
Checks that the declared character encoding matches the actual
character encoding used to encode the XML file.
- checkEncoding(String, String) - Method in class uk.ac.sheffield.jast.build.BasicBuilder
-
Checks that the declared character encoding matches the actual
character encoding used to decode the XML file.
- checkIdentity(String) - Method in class uk.ac.sheffield.jast.Unmarshaller
-
Checks that the declared serial ID matches the actual serial ID of
an AST object, as it is unmarshalled.
- checkImpliedAttributes(Element) - Method in class uk.ac.sheffield.jast.valid.ElementRule
-
Returns true, if all of the Element node's Attributes are permitted.
- checkInfo(String) - Method in class uk.ac.sheffield.jast.xml.Comment
-
Secret method to check for valid content.
- checkInfo(String) - Method in class uk.ac.sheffield.jast.xml.Data
-
Secret method to check for valid content.
- checkInfo(String) - Method in class uk.ac.sheffield.jast.xml.Text
-
Secret method to check the information content.
- checkNamespaceID(String) - Method in class uk.ac.sheffield.jast.Metadata
-
Validates the syntax of a short XML namespace identifier.
- checkNamespaces(Element) - Method in class uk.ac.sheffield.jast.xml.XMLSchema
-
Checks this XMLSchema for valid use of XML namespaces.
- checkRequiredAttributes(Element) - Method in class uk.ac.sheffield.jast.valid.ElementRule
-
Returns true, if the Element node contains all required Attributes.
- ChildAxisRule - Class in uk.ac.sheffield.jast.xpath
-
ChildAxisRule is a ContentAxisRule that selects the context's element
children.
- ChildAxisRule() - Constructor for class uk.ac.sheffield.jast.xpath.ChildAxisRule
-
Creates a ChildAxisRule that returns any Element children.
- ChildAxisRule(Filter) - Constructor for class uk.ac.sheffield.jast.xpath.ChildAxisRule
-
Creates a ChildAxisRule that returns any Element children passed by the
supplied Filter.
- ChildFilter - Class in uk.ac.sheffield.jast.filter
-
ChildFilter is a compound filter for selecting nodes with given children.
- ChildFilter() - Constructor for class uk.ac.sheffield.jast.filter.ChildFilter
-
Creates a ChildFilter that accepts any parent node with at least one
child node of any kind.
- ChildFilter(int) - Constructor for class uk.ac.sheffield.jast.filter.ChildFilter
-
Creates a ChildFilter that accepts any parent node of a given content
type, which also has at least one child of any kind.
- ChildFilter(Filter) - Constructor for class uk.ac.sheffield.jast.filter.ChildFilter
-
Creates a ChildFilter that accepts any parent node, which also has at
least one child that is accepted by the supplied filter.
- ChildFilter(Filter, int) - Constructor for class uk.ac.sheffield.jast.filter.ChildFilter
-
Creates a ChildFilter that accepts any parent node of a given content
type, which also has at least one child that is accepted by the
supplied filter.
- childIndex - Variable in class uk.ac.sheffield.jast.valid.ElementRule
-
The starting index indicating where among the children of the current
XML node to start matching a sequence, selection or iteration.
- clearError() - Method in class uk.ac.sheffield.jast.valid.GrammarRule
-
Secret method to clear the latest mismatch error.
- clone() - Method in class uk.ac.sheffield.jast.xml.Attribute
-
Clones this Attribute node.
- clone() - Method in class uk.ac.sheffield.jast.xml.Comment
-
Clones this Comment node.
- clone() - Method in class uk.ac.sheffield.jast.xml.Content
-
Clones this Content node and its descendants.
- clone() - Method in class uk.ac.sheffield.jast.xml.Data
-
Clones this Data node.
- clone() - Method in class uk.ac.sheffield.jast.xml.Declaration
-
Clones this Declaration node.
- clone() - Method in class uk.ac.sheffield.jast.xml.Descriptor
-
Clones this Descriptor node.
- clone() - Method in class uk.ac.sheffield.jast.xml.Doctype
-
Clones this Doctype node.
- clone() - Method in class uk.ac.sheffield.jast.xml.Document
-
Clones this Document node.
- clone() - Method in class uk.ac.sheffield.jast.xml.Element
-
Clones this Element node.
- clone() - Method in class uk.ac.sheffield.jast.xml.Instruction
-
Clones this Instruction node.
- clone() - Method in class uk.ac.sheffield.jast.xml.Text
-
Clones this Text node.
- clone() - Method in class uk.ac.sheffield.jast.xml.XMLSchema
-
Clones this XMLSchema node.
- close() - Method in class uk.ac.sheffield.jast.BasicReader
-
Closes this BasicReader reader.
- close() - Method in class uk.ac.sheffield.jast.BasicScanner
-
Closes this BasicScanner.
- close() - Method in class uk.ac.sheffield.jast.BasicWriter
-
Closes this BasicWriter writer.
- close() - Method in class uk.ac.sheffield.jast.build.XMLParser
-
Closes this XMLParser.
- close() - Method in class uk.ac.sheffield.jast.XMLStreamer
-
Closes this XMLStreamer.
- CLOSE_PAREN - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting the closing parenthesis ')'.
- CLOSE_QUOTE - Static variable in class uk.ac.sheffield.jast.Tokens
-
The constant denoting a close-quotation mark.
- coerceValue(String, Class<?>) - Method in class uk.ac.sheffield.jast.Unmarshaller
-
Coerces a String value to an instance of the given type.
- Comment - Class in uk.ac.sheffield.jast.xml
-
Comment is the node standing for an XML Comment in an XML Document.
- Comment() - Constructor for class uk.ac.sheffield.jast.xml.Comment
-
Creates an empty Comment node.
- Comment(String) - Constructor for class uk.ac.sheffield.jast.xml.Comment
-
Creates a Comment node with the given comment text.
- COMMENT - Static variable in class uk.ac.sheffield.jast.xml.Content
-
A constant denoting the Comment content-type.
- compareAsType(int) - Method in class uk.ac.sheffield.jast.filter.RestrictFilter
-
Directs this RestrictFilter to treat its compared values as being of
the indicated type.
- compareBoolean(boolean, boolean) - Method in class uk.ac.sheffield.jast.filter.EvalFilter
-
Inherited method to compare two boolean values.
- compareDecimal(double, double) - Method in class uk.ac.sheffield.jast.filter.EvalFilter
-
Inherited method to compare two decimal values.
- compareIntegral(long, long) - Method in class uk.ac.sheffield.jast.filter.EvalFilter
-
Inherited method to compare two integral values.
- compareString(String, String) - Method in class uk.ac.sheffield.jast.filter.EvalFilter
-
Inherited method to compare two String values.
- compareValue(String) - Method in class uk.ac.sheffield.jast.filter.RestrictFilter
-
Compares an unknown value against this RestrictFilter's reference value.
- compile(String) - Static method in class uk.ac.sheffield.jast.test.TestXPathCompiler
-
Compiles one XPath pattern, then extracts the list of XPathRules and
displays this using the toString() method of XPathRule.
- compileAttribute() - Method in class uk.ac.sheffield.jast.xpath.XPathCompiler
-
Compiles an attribute-axis pattern.
- compileChildOrContent() - Method in class uk.ac.sheffield.jast.xpath.XPathCompiler
-
Compiles a child-axis pattern for a child element or some other kind
of content.
- compileContent(String) - Method in class uk.ac.sheffield.jast.xpath.XPathCompiler
-
Compiles a child-axis pattern for general kinds of content.
- compileDescendantsOrSelf() - Method in class uk.ac.sheffield.jast.xpath.XPathCompiler
-
Compiles a descendants-or-self-axis pattern.
- compileGrammar(Lexicon, String) - Method in class uk.ac.sheffield.jast.xml.Doctype
-
Compiles the grammar represented by this Doctype, updating a Lexicon.
- compileGrammar() - Method in class uk.ac.sheffield.jast.xml.XMLSchema
-
Compiles the grammar represented by this XMLSchema.
- compileNestedXPath(String) - Method in class uk.ac.sheffield.jast.xpath.XPathCompiler
-
Compiles a nested XPath query pattern embedded in an XPath predicate
expression.
- compileNextSegment() - Method in class uk.ac.sheffield.jast.xpath.XPathCompiler
-
Compiles the next segment of the XPath query pattern.
- compileParentOrSelf() - Method in class uk.ac.sheffield.jast.xpath.XPathCompiler
-
Compiles a parent-axis or self-axis pattern.
- compilePattern(String) - Method in class uk.ac.sheffield.jast.filter.PatternFilter
-
Secret method to top and tail the regular expression and compile
the resulting pattern.
- compilePattern(String) - Method in class uk.ac.sheffield.jast.xpath.XPathCompiler
-
Compiles a fresh XPath query pattern, storing the result as a list
of XPathRules.
- compilePosition(String) - Method in class uk.ac.sheffield.jast.xpath.XPathCompiler
-
Compiles a position predicate to select the element at an index.
- compilePredicate() - Method in class uk.ac.sheffield.jast.xpath.XPathCompiler
-
Compiles an XPath predicate expression in [...] brackets.
- CompoundRule - Class in uk.ac.sheffield.jast.valid
-
CompoundRule is the abstract ancestor of all compound XML grammar rules.
- CompoundRule(String) - Constructor for class uk.ac.sheffield.jast.valid.CompoundRule
-
Creates a CompoundRule, whose rule children are patterns to match
against a sequence of XML nodes.
- content - Variable in class uk.ac.sheffield.jast.ast.Film
-
- content - Variable in class uk.ac.sheffield.jast.ast.Named
-
- Content - Class in uk.ac.sheffield.jast.xml
-
Content is the abstract ancestor of different kinds of XML content.
- Content() - Constructor for class uk.ac.sheffield.jast.xml.Content
-
Creates this Content node.
- content - Variable in class uk.ac.sheffield.jast.xml.Text
-
The textual content maintained by this Text node.
- CONTENT_LIST_LENGTH - Static variable in class uk.ac.sheffield.jast.xml.Document
-
The default length of this Document's content list.
- CONTENT_LIST_LENGTH - Static variable in class uk.ac.sheffield.jast.xml.Element
-
The default length of this Element's content list.
- ContentAxisRule - Class in uk.ac.sheffield.jast.xpath
-
ContentAxisRule is an XPathRule that selects the context node's contents.
- ContentAxisRule() - Constructor for class uk.ac.sheffield.jast.xpath.ContentAxisRule
-
Creates a ContentAxisRule that returns any Content children.
- ContentAxisRule(Filter) - Constructor for class uk.ac.sheffield.jast.xpath.ContentAxisRule
-
Creates a ContentAxisRule that returns any Content children passed by the
supplied Filter.
- contentList - Variable in class uk.ac.sheffield.jast.xml.Document
-
The list of this Document's contents, initialised by default to hold
up to eight content-nodes, including possible layout text.
- contentList - Variable in class uk.ac.sheffield.jast.xml.Element
-
The list of this Element's contents, null by default.
- contentMap - Variable in class uk.ac.sheffield.jast.Marshaller
-
The map from types to a boolean flag.
- convert(String) - Method in class uk.ac.sheffield.jast.filter.RangeFilter
-
Converts an enumerated range of reference values into a set.
- convert(List<String>) - Method in class uk.ac.sheffield.jast.filter.RangeFilter
-
Converts a list of reference values into a set.
- count - Variable in class uk.ac.sheffield.jast.filter.PositionFilter
-
The local counting index, used to perform counting.
- counter - Variable in class uk.ac.sheffield.jast.xpath.XPathRule
-
The IndexFilter used to select one from a list of results.
- createNamespace() - Static method in class uk.ac.sheffield.jast.xml.Namespace
-
Factory method for creating the empty Namespace.
- createNamespace(Attribute) - Static method in class uk.ac.sheffield.jast.xml.Namespace
-
The factory method for creating a unique Namespace from an Attribute.
- createNamespace(String, String) - Static method in class uk.ac.sheffield.jast.xml.Namespace
-
The factory method for creating a unique Namespace with an identifier
mapping to a pathname.
- createNamespaceURI(String) - Method in class uk.ac.sheffield.jast.Metadata
-
Creates an XML namespace URI for a short XML namespace identifier.
- createObject(String) - Method in class uk.ac.sheffield.jast.Unmarshaller
-
Factory method to create an instance of a user-defined AST class.
- current - Variable in class uk.ac.sheffield.jast.build.XMLBuilder
-
The current Content being constructed by this builder.
- current - Variable in class uk.ac.sheffield.jast.xml.XMLIterator
-
The currently visited node.
- current - Variable in class uk.ac.sheffield.jast.XMLWriter
-
The current content being unpacked.