- AbsFlexiMinXML - Class in com.steelypip.powerups.minxml
-
This is a support class for FlexiMinXML that provides a
layer for managing the allocation of the TreeMap and the
ArrayList.
- AbsFlexiMinXML(String) - Constructor for class com.steelypip.powerups.minxml.AbsFlexiMinXML
-
- AbsMinXML - Class in com.steelypip.powerups.minxml
-
This is a abstract class for simplifying writing MinXML implementations.
- AbsMinXML() - Constructor for class com.steelypip.powerups.minxml.AbsMinXML
-
- add(int, MinXML) - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- add(MinXML) - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- addAll(Collection<? extends MinXML>) - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- addAll(int, Collection<? extends MinXML>) - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- addBoolean(boolean) - Method in interface com.steelypip.powerups.json.JSONBuilder
-
This method should be invoked when the parser consumes a
JSON expression 'true' or 'false'.
- addBoolean(boolean) - Method in class com.steelypip.powerups.json.MinXMLBuilderJSONBuilder
-
- addFloat(double) - Method in interface com.steelypip.powerups.json.JSONBuilder
-
This method should be invoked when the parser consumes a
JSON floating point value.
- addFloat(double) - Method in class com.steelypip.powerups.json.MinXMLBuilderJSONBuilder
-
- addInteger(long) - Method in interface com.steelypip.powerups.json.JSONBuilder
-
This method should be invoked when the parser consumes a
JSON integer value.
- addInteger(BigInteger) - Method in interface com.steelypip.powerups.json.JSONBuilder
-
This method should preferably be invoked when the parser consumes
a JSON integer value that is too large to fit in a long.
- addInteger(long) - Method in class com.steelypip.powerups.json.MinXMLBuilderJSONBuilder
-
- addInteger(BigInteger) - Method in class com.steelypip.powerups.json.MinXMLBuilderJSONBuilder
-
- addNull() - Method in interface com.steelypip.powerups.json.JSONBuilder
-
This method should be invoked when the parser consumes a
JSON expression 'null'.
- addNull() - Method in class com.steelypip.powerups.json.MinXMLBuilderJSONBuilder
-
- addString(String) - Method in interface com.steelypip.powerups.json.JSONBuilder
-
This method should be invoked when the parser consumes a
JSON string.
- addString(String) - Method in class com.steelypip.powerups.json.MinXMLBuilderJSONBuilder
-
- Alert - Exception in com.steelypip.powerups.alert
-
Alerts are intended to act as generic application exceptions that can
be decorated with contextual key-value information.
- Alert() - Constructor for exception com.steelypip.powerups.alert.Alert
-
- Alert(String, Throwable) - Constructor for exception com.steelypip.powerups.alert.Alert
-
This is the most general constructor, which simply invokes the super
class constructor with the same arguments.
- Alert(String) - Constructor for exception com.steelypip.powerups.alert.Alert
-
- Alert(Throwable) - Constructor for exception com.steelypip.powerups.alert.Alert
-
- ARRAY - Variable in class com.steelypip.powerups.json.JSONKeywords
-
A constant that denotes the value given to the element name
for arrays.
- asMap() - Method in class com.steelypip.powerups.minxml.AbsFlexiMinXML
-
- asMap() - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- asMap() - Method in interface com.steelypip.powerups.minxml.MinXML
-
Returns a Map
that represents the attributes of an element
that shares updates with the original element.
- asMapEntries() - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- asMapEntries() - Method in interface com.steelypip.powerups.minxml.MinXML
-
Returns an iterator over the attributes of an element that shares
updates with the original element.
- asMapKeys() - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- asMapKeys() - Method in interface com.steelypip.powerups.minxml.MinXML
-
Returns an iterator over the keys of an element that shares
updates with the original element.
- attributes - Variable in class com.steelypip.powerups.minxml.AbsFlexiMinXML
-
- EmptyIterable<T> - Class in com.steelypip.powerups.common
-
This implements the special case of an empty iterable for any
type T.
- EmptyIterable() - Constructor for class com.steelypip.powerups.common.EmptyIterable
-
- EmptyIterator<T> - Class in com.steelypip.powerups.common
-
Implements the special case of an iterator that yields no
values.
- EmptyIterator() - Constructor for class com.steelypip.powerups.common.EmptyIterator
-
- EmptyList<T> - Class in com.steelypip.powerups.common
-
Implements the special case of an empty immutable list.
- EmptyList() - Constructor for class com.steelypip.powerups.common.EmptyList
-
- EmptyMap<T,U> - Class in com.steelypip.powerups.common
-
Implements the special case of an empty, immutable map from
any type T to any type U.
- EmptyMap() - Constructor for class com.steelypip.powerups.common.EmptyMap
-
- EmptySet<T> - Class in com.steelypip.powerups.common
-
Implements the special case of an empty, immutable set
of values of any type T.
- EmptySet() - Constructor for class com.steelypip.powerups.common.EmptySet
-
- enableExtensions(char[]) - Method in class com.steelypip.powerups.minxson.MinXSONParser
-
These extensions toggle optional features.
- endArray() - Method in interface com.steelypip.powerups.json.JSONBuilder
-
This method should be invoked when the parser consumes the
end of an array i.e.
- endArray() - Method in class com.steelypip.powerups.json.MinXMLBuilderJSONBuilder
-
- endObject() - Method in interface com.steelypip.powerups.json.JSONBuilder
-
This method should be invoked when the parser consumes the
end of an object i.e.
- endObject() - Method in class com.steelypip.powerups.json.MinXMLBuilderJSONBuilder
-
- endSearch(MinXML, boolean) - Method in class com.steelypip.powerups.minxml.MinXMLSearcher
-
endSearch is called at the end of the tree-walk of the subject and its children.
- endTag(String) - Method in class com.steelypip.powerups.minxml.FlexiMinXMLBuilder
-
- endTag(String) - Method in interface com.steelypip.powerups.minxml.MinXMLBuilder
-
This method finishes the construction of the current element.
- endWalk(MinXML) - Method in class com.steelypip.powerups.minxml.MinXMLWalker
-
endWalk is called at the end of the tree-walk of the subject and its children.
- entries() - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- entries() - Method in class com.steelypip.powerups.minxml.FlexiMinXML
-
- entries() - Method in interface com.steelypip.powerups.minxml.MinXML
-
Returns a iterator over the attributes of an element, as if the
attributes were implemented as a Map
, which shares updates
with the original element (when updates are allowed).
- entrySet() - Method in class com.steelypip.powerups.common.EmptyMap
-
- equals(Object) - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- equals(Object) - Method in interface com.steelypip.powerups.minxml.MinXML
-
- ID - Variable in class com.steelypip.powerups.json.JSONKeywords
-
A constant that denotes the value given to the element name
for identifiers - only relevant for MinXSON.
- ID_NAME - Variable in class com.steelypip.powerups.json.JSONKeywords
-
A constant that denotes the value given to the name attribute
for identifiers - only relevant for MinXSON.
- IfNull - Class in com.steelypip.powerups.common
-
- IfNull() - Constructor for class com.steelypip.powerups.common.IfNull
-
- ifNull(T, T) - Static method in class com.steelypip.powerups.common.IfNull
-
A utility method that implements the idiom x != null ? x : y (i.e.
- increment() - Method in class com.steelypip.powerups.json.JSONBuildCounter
-
- indent() - Method in class com.steelypip.powerups.common.Indenter
-
- indent() - Method in class com.steelypip.powerups.common.NullIndenter
-
- indent() - Method in class com.steelypip.powerups.common.StdIndenter
-
- indent_level - Variable in class com.steelypip.powerups.common.StdIndenter
-
- Indenter - Class in com.steelypip.powerups.common
-
- Indenter() - Constructor for class com.steelypip.powerups.common.Indenter
-
- IndenterFactory - Interface in com.steelypip.powerups.common
-
- indexOf(Object) - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- indexOf(Object) - Method in class com.steelypip.powerups.minxml.FlexiMinXML
-
- INSTANCE - Static variable in class com.steelypip.powerups.common.NullIndenter
-
- INTEGER - Variable in class com.steelypip.powerups.json.JSONKeywords
-
A constant that denotes the value given to the type attribute
for whole numbers.
- internalError() - Static method in exception com.steelypip.powerups.alert.Alert
-
A convenience method for building an Alert that is suitable
for signalling that some part of the object state has entered
a condition that the programmer intends to be impossible.
- internalError(String) - Static method in exception com.steelypip.powerups.alert.Alert
-
A convenience method for building an Alert that is suitable
for signalling that some part of the object state has entered
a condition that the programmer intends to be impossible.
- isEmpty() - Method in class com.steelypip.powerups.common.EmptyList
-
- isEmpty() - Method in class com.steelypip.powerups.common.EmptyMap
-
- isEmpty() - Method in class com.steelypip.powerups.common.EmptySet
-
- isEmpty() - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- isEmpty() - Method in class com.steelypip.powerups.minxml.FlexiMinXML
-
- isNextChar(char) - Method in interface com.steelypip.powerups.charrepeater.CharRepeater
-
Returns true if it the next character is the same as wanted,
otherwise false.
- isNextChar(char) - Method in class com.steelypip.powerups.charrepeater.ReaderCharRepeater
-
Checks whether or not the next character is the same as
wanted.
- isNextString(String) - Method in interface com.steelypip.powerups.charrepeater.CharRepeater
-
Returns true if it the next sequence of characters matches the string wanted,
otherwise false.
- isNextString(String) - Method in class com.steelypip.powerups.charrepeater.ReaderCharRepeater
-
Checks whether or not the sequence of characters in the string wanted
is waiting to be read off the input.
- isntEmpty() - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- isntEmpty() - Method in class com.steelypip.powerups.minxml.FlexiMinXML
-
- isntEmpty() - Method in interface com.steelypip.powerups.minxml.MinXML
-
Returns true if the element has no children.
- iterator() - Method in exception com.steelypip.powerups.alert.Alert
-
This is a service method for reporting.
- iterator() - Method in class com.steelypip.powerups.common.EmptyIterable
-
- iterator() - Method in class com.steelypip.powerups.common.EmptySet
-
- iterator() - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- iterator() - Method in class com.steelypip.powerups.minxml.FlexiMinXML
-
- iterator() - Method in class com.steelypip.powerups.minxml.MinXMLParser
-
Returns an iterator that reads elements off sequentially
from this parser.
- iterator() - Method in class com.steelypip.powerups.minxson.MinXSONParser
-
This method returns an iterator which consumes the input
stream and yields MinXML trees.
- MinXConfParser - Class in com.steelypip.powerups.minxconf
-
This class implements a parser that consumes MinXConf expressions,
which are designed to be suitable for writing simple settings files.
- MinXConfParser(CharRepeater, MinXMLBuilder, char...) - Constructor for class com.steelypip.powerups.minxconf.MinXConfParser
-
- MinXConfParser(Reader, char...) - Constructor for class com.steelypip.powerups.minxconf.MinXConfParser
-
- MinXConfParser(Reader, MinXMLBuilder, char...) - Constructor for class com.steelypip.powerups.minxconf.MinXConfParser
-
- MinXML - Interface in com.steelypip.powerups.minxml
-
MinXML is a cleaner, leaner, cut-down version of XML with only the
absolute essentials.
- MinXMLBuilder - Interface in com.steelypip.powerups.minxml
-
This interface linearises the construction of a MinXML
tree.
- MinXMLBuilderJSONBuilder - Class in com.steelypip.powerups.json
-
This class implements the JSONBuilder interface and constructs MinXML
objects.
- MinXMLBuilderJSONBuilder() - Constructor for class com.steelypip.powerups.json.MinXMLBuilderJSONBuilder
-
A convenience constructor that specialises the translation table to a
standard set of keywords and the MinXML builder to a FlexiMinXML builder.
- MinXMLBuilderJSONBuilder(MinXMLBuilder) - Constructor for class com.steelypip.powerups.json.MinXMLBuilderJSONBuilder
-
A convenience constructor that specialises the translation table to a
standard set of keywords.
- MinXMLBuilderJSONBuilder(MinXMLBuilder, JSONKeywords) - Constructor for class com.steelypip.powerups.json.MinXMLBuilderJSONBuilder
-
Creates a JSONBuilder from a MinXML builder and a translation
table.
- MinXMLJSONParser - Class in com.steelypip.powerups.json
-
This convenience class constructs a JSON parser that builds MinXML trees.
- MinXMLJSONParser(Reader) - Constructor for class com.steelypip.powerups.json.MinXMLJSONParser
-
- MinXMLParser - Class in com.steelypip.powerups.minxml
-
This class wraps various types of input stream to
create a MinXML parser.
- MinXMLParser(CharRepeater, MinXMLBuilder) - Constructor for class com.steelypip.powerups.minxml.MinXMLParser
-
- MinXMLParser(Reader, MinXMLBuilder) - Constructor for class com.steelypip.powerups.minxml.MinXMLParser
-
Constructs a parser from a Reader
and a
MinXMLBuilder.
- MinXMLParser(Reader) - Constructor for class com.steelypip.powerups.minxml.MinXMLParser
-
- MinXMLSearcher - Class in com.steelypip.powerups.minxml
-
A convenience class for implementing a recursive walk of a tree
with some control over the branches explored.
- MinXMLSearcher() - Constructor for class com.steelypip.powerups.minxml.MinXMLSearcher
-
- MinXMLWalker - Class in com.steelypip.powerups.minxml
-
A convenience class that implements a recursive
walk over a MinXML tree.
- MinXMLWalker() - Constructor for class com.steelypip.powerups.minxml.MinXMLWalker
-
- MinXMLWriter - Class in com.steelypip.powerups.minxml
-
Prints out a MinXML object to a PrintWriter
.
- MinXMLWriter(PrintWriter, IndenterFactory) - Constructor for class com.steelypip.powerups.minxml.MinXMLWriter
-
- MinXMLWriter(PrintWriter) - Constructor for class com.steelypip.powerups.minxml.MinXMLWriter
-
- MinXMLWriter(Writer) - Constructor for class com.steelypip.powerups.minxml.MinXMLWriter
-
- MinXSONParser - Class in com.steelypip.powerups.minxson
-
- MinXSONParser(CharRepeater, MinXMLBuilder, char...) - Constructor for class com.steelypip.powerups.minxson.MinXSONParser
-
- MinXSONParser(Reader, MinXMLBuilder, char...) - Constructor for class com.steelypip.powerups.minxson.MinXSONParser
-
- MinXSONParser(Reader, char...) - Constructor for class com.steelypip.powerups.minxson.MinXSONParser
-
- peekChar() - Method in interface com.steelypip.powerups.charrepeater.CharRepeater
-
Returns the next character from the input, but does not consume it.
- peekChar(char) - Method in interface com.steelypip.powerups.charrepeater.CharRepeater
-
Returns the next character from the input, but does not consume it.
- peekChar() - Method in class com.steelypip.powerups.charrepeater.ReaderCharRepeater
-
Returns the next character from the input, but does not consume it.
- peekChar(char) - Method in class com.steelypip.powerups.charrepeater.ReaderCharRepeater
-
Returns the next character from the input, but does not consume it.
- postOrder(MinXML) - Method in class com.steelypip.powerups.minxml.MinXMLSearcher
-
- postOrder(MinXML) - Method in class com.steelypip.powerups.minxml.MinXMLWalker
-
- preOrder(MinXML) - Method in class com.steelypip.powerups.minxml.MinXMLSearcher
-
- preOrder(MinXML) - Method in class com.steelypip.powerups.minxml.MinXMLWalker
-
- prettyPrint(Writer) - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- prettyPrint(PrintWriter) - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- prettyPrint(PrintWriter) - Method in interface com.steelypip.powerups.minxml.MinXML
-
Renders the element using the supplied PrintWriter
such that each start and
end tag are on their own line and the children indented.
- prettyPrint(Writer) - Method in interface com.steelypip.powerups.minxml.MinXML
-
Renders the element using the supplied Writer
such that each start and
end tag are on their own line and the children indented.
- print(Writer) - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- print(PrintWriter) - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- print(PrintWriter) - Method in interface com.steelypip.powerups.minxml.MinXML
-
Renders the element using the supplied PrintWriter
.
- print(Writer) - Method in interface com.steelypip.powerups.minxml.MinXML
-
Renders the element to the supplied Writer
.
- print(MinXML) - Method in class com.steelypip.powerups.minxml.MinXMLWriter
-
- pushChar(char) - Method in interface com.steelypip.powerups.charrepeater.CharRepeater
-
Pushes a character onto the front of the input.
- pushChar(char) - Method in class com.steelypip.powerups.charrepeater.ReaderCharRepeater
-
Pushes a character onto the front of the input.
- put(T, U) - Method in class com.steelypip.powerups.common.EmptyMap
-
- put(String, String) - Method in class com.steelypip.powerups.minxml.FlexiMinXMLBuilder
-
- put(String, String) - Method in interface com.steelypip.powerups.minxml.MinXMLBuilder
-
This method adds the attribute key=value to the start tag
that is under construction.
- putAll(Map<? extends T, ? extends U>) - Method in class com.steelypip.powerups.common.EmptyMap
-
- putAllAttributes(Map<String, String>) - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- putAllAttributes(Map<String, String>) - Method in interface com.steelypip.powerups.minxml.MinXML
-
- putAttribute(String, String) - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- putAttribute(String, String) - Method in interface com.steelypip.powerups.minxml.MinXML
-
Puts an attribute key=value into the element.
- pw - Variable in class com.steelypip.powerups.common.StdIndenter
-
- search(MinXML) - Method in class com.steelypip.powerups.minxml.MinXMLSearcher
-
The search method is used to implement basic recursive scans over a tree
of elements.
- set(int, MinXML) - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- setName(String) - Method in class com.steelypip.powerups.minxml.AbsFlexiMinXML
-
- setName(String) - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- setName(String) - Method in interface com.steelypip.powerups.minxml.MinXML
-
Changes the name of the element to the given string.
- shallowCopy() - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- shallowCopy(MinXML) - Static method in class com.steelypip.powerups.minxml.FlexiMinXML
-
Creates a copy of the top-level node of the given element.
- shallowCopy() - Method in interface com.steelypip.powerups.minxml.MinXML
-
shallowCopy makes a copy of the topmost node but shares the children.
- size() - Method in class com.steelypip.powerups.common.EmptyList
-
- size() - Method in class com.steelypip.powerups.common.EmptyMap
-
- size() - Method in class com.steelypip.powerups.common.EmptySet
-
- size() - Method in class com.steelypip.powerups.io.StringPrintWriter
-
The number of characters printed to the string
buffer so far.
- size() - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- size() - Method in class com.steelypip.powerups.minxml.FlexiMinXML
-
- sizeAttributes() - Method in class com.steelypip.powerups.minxml.AbsMinXML
-
- sizeAttributes() - Method in class com.steelypip.powerups.minxml.FlexiMinXML
-
- sizeAttributes() - Method in interface com.steelypip.powerups.minxml.MinXML
-
Returns the number of attributes of the element.
- skipChar() - Method in interface com.steelypip.powerups.charrepeater.CharRepeater
-
Discards the next character from the input.
- skipChar() - Method in class com.steelypip.powerups.charrepeater.ReaderCharRepeater
-
Discards the next character from the input.
- startArray() - Method in interface com.steelypip.powerups.json.JSONBuilder
-
This method should be invoked when the parser consumes the
start of an array i.e.
- startArray() - Method in class com.steelypip.powerups.json.MinXMLBuilderJSONBuilder
-
- startObject() - Method in interface com.steelypip.powerups.json.JSONBuilder
-
This method should be invoked when the parser consumes the
start of an object i.e.
- startObject() - Method in class com.steelypip.powerups.json.MinXMLBuilderJSONBuilder
-
- startSearch(MinXML) - Method in class com.steelypip.powerups.minxml.MinXMLSearcher
-
startSearch is called at the start of the tree-walk of the subject and its children.
- startTagClose(String) - Method in class com.steelypip.powerups.minxml.FlexiMinXMLBuilder
-
- startTagClose(String) - Method in interface com.steelypip.powerups.minxml.MinXMLBuilder
-
This method finishes the construction of the current start tag.
- startTagOpen(String) - Method in class com.steelypip.powerups.minxml.FlexiMinXMLBuilder
-
- startTagOpen(String) - Method in interface com.steelypip.powerups.minxml.MinXMLBuilder
-
This method should be called to begin the construction of
a start-tag with a particular element name.
- startWalk(MinXML) - Method in class com.steelypip.powerups.minxml.MinXMLWalker
-
startWalk is called at the start of the tree-walk of the subject and its children.
- StdIndenter - Class in com.steelypip.powerups.common
-
- StdIndenter(PrintWriter) - Constructor for class com.steelypip.powerups.common.StdIndenter
-
- StdIndenter.Factory - Class in com.steelypip.powerups.common
-
- STRING - Variable in class com.steelypip.powerups.json.JSONKeywords
-
A constant that denotes the value given to the type attribute
for strings.
- StringPrintWriter - Class in com.steelypip.powerups.io
-
Implements a reusable print-writer that targets a
string.
- StringPrintWriter() - Constructor for class com.steelypip.powerups.io.StringPrintWriter
-
- subList(int, int) - Method in class com.steelypip.powerups.minxml.AbsMinXML
-