|
GXPARSE hosted by | ||||||||
PREV NEXT | FRAMES NO FRAMES |
Attribute
.Listener
methods
that receive character input from the
Parser
.Element
.Entity
.System.err
).
Listener
methods that do nothing.MatchedText
factory.Writer
or to System.err
.System.err
).
ScanBuffer
implementation on a java.io.Reader
.RuleList
.ScanBuffer
factory.CharSequence that has a fixed length.
- AbstractScanBuffer(CharSequence, InputControl) -
Constructor for class ca.gorman.util.scan.spi.AbstractScanBuffer
- Construct on a
CharSequence with a length that can be
increased by a request from the AbstractScanBuffer.
- AbstractScanner - Class in ca.gorman.util.scan.spi
-
A
Scanner
factory. - AbstractScanner(ThreadFactory) -
Constructor for class ca.gorman.util.scan.spi.AbstractScanner
-
Create a scanner that uses a specified thread factory for
{#startScan(InputScanBuffer,Appendable,RuleList) asynchronous scanning}.
- AbstractScanner() -
Constructor for class ca.gorman.util.scan.spi.AbstractScanner
-
Create a scanner that uses the default thread factory for
{#startScan(InputScanBuffer,Appendable,RuleList) asynchronous scanning}.
- AbstractScanRule - Class in ca.gorman.util.scan
-
Abstract realization of
ScanRule
that takes no action on
a successful match. - AbstractScanRule() -
Constructor for class ca.gorman.util.scan.AbstractScanRule
-
- AbstractScanState - Class in ca.gorman.util.scan.spi
-
A
ScanState
factory. - AbstractScanState(InputScanBuffer, Appendable, RuleList) -
Constructor for class ca.gorman.util.scan.spi.AbstractScanState
-
- accept(int) -
Method in interface ca.gorman.util.scan.ScanBuffer
-
Remove a prefix of the
ScanBuffer
from the
ScanBuffer
and create a MatchedText
containing the same characters.
- accept(int) -
Method in class ca.gorman.util.scan.spi.AbstractScanBuffer
-
- ACCEPT_NONE -
Static variable in class ca.gorman.xml.parse.AbstractMessageListener
-
- ACCEPT_NONE -
Static variable in class ca.gorman.xml.parse.sax.SAXErrorListener
-
- act(ScanRule) -
Method in interface ca.gorman.util.scan.ScanBuffer
-
Test a
ScanRule
for a match against a leading prefix
of the ScanBuffer
and invoke the corresponding
action
if the match
succeeds.
- act(ScanRule) -
Method in class ca.gorman.util.scan.spi.AbstractScanBuffer
-
- action(ScanState, MatchedText) -
Method in class ca.gorman.util.scan.AbstractScanRule
-
- action(ScanState, MatchedText) -
Method in interface ca.gorman.util.scan.ScanAction
-
Do something with
text that has been matched
by a
scanRule
.
- action(ScanState, MatchedText) -
Method in class ca.gorman.util.scan.ScanRuleDelegator
-
- add(ScanRule) -
Method in class ca.gorman.util.scan.AbstractRuleList
-
Add a rule to the end of the list.
- add(RuleList) -
Method in class ca.gorman.util.scan.AbstractRuleList
-
Add a different list to the end of the list.
- anyOf(ScanRule...) -
Method in class ca.gorman.util.scan.Modifier
-
Alternation, recognize a character sequence that would be recognized by
at least one of the
ScanRule
instances in a list.
- AsynchronousScanState - Interface in ca.gorman.util.scan
-
External view of the current state of an asynchronous
Scanner
. - atLeast(int, ScanRule) -
Method in class ca.gorman.util.scan.Modifier
-
Repetition, recognize a character sequence matched by
count
or more repetitions of a ScanRule
.
- Attribute - Interface in ca.gorman.xml.parse
-
Attribute, as presented to the application by the parser.
- attributeDecl(T, String, String, String, String, String) -
Method in class ca.gorman.xml.parse.AbstractListener
-
- attributeDecl(T, String, String, String, String, String) -
Method in interface ca.gorman.xml.parse.DtdListener
-
Report an attribute type declaration.
- attributeDecl(String, String, String, String, String) -
Method in class ca.gorman.xml.parse.sax.SAXAdapter
-
Report an attribute type declaration.
- attributeDecl(String, String, String, String, String) -
Method in class ca.gorman.xml.parse.sax.SAXDumpListener
-
Report an attribute type declaration.
- attributeDecl(T, String, String, String, String, String) -
Method in class ca.gorman.xml.parse.toolkit.CoroutineCheckListener
-
- attributeDecl(T, String, String, String, String, String) -
Method in class ca.gorman.xml.parse.util.DumpListener
-
- attributeDecl(T, String, String, String, String, String) -
Method in class ca.gorman.xml.parse.util.SkipListener
-
File
without translation from a Charset
.File
.
File
without translation to a Charset
.File
.
java.io
with additional stream classes that are
useful when parsing XML streams.XML pattern matching API
on Java character sequences
.SAXParser
.Parser
facade and a
Listener
interface for
SAXParser
and XMLReader
.XML stream parser
on event-based parsers like the SAX parser
.ScanRule
and simultaneously save the character sequence for later
retrieval
.
Parser
.flushing
it.
Buffer
and send output to final destination.
MarkGroup
and all of the Mark objects in the
MarkGroup
.
SpillBuffer
and make it ready to
provide a reader
.
Writer
s on the WriterStack.
ScanRule
instances in a list.
key
has been used to save a
value.
Thread
to support a coroutine thread that
shares and exchanges control with a main thread.Listener
methods that call back to
the Parser
.Listener
methods that do not call
back to the Parser
.attribute declaration handler
from the parser thread to run
in the application thread.setListener
and
setParams
.
setParams
.
CDATA marked section handler
from the parser thread to run in the
application thread.setCoroutine
setListener
setListener
character handler
from the parser thread to run in the application thread.setListener
and
setParams
.
setParams
.
Coroutine
-based
Parser
implementation invokes all of the
Listener
methods in the correct thread.comment handler
from the parser thread to run in the application thread.setListener
and
setParams
.
setParams
.
document handler
from
the parser thread to run in the application thread.setCoroutine
setListener
setListener
DTD handler
from the parser thread to run in the application thread.setCoroutine
,
setListener
and
setParams
.
setListener
and
setParams
.
setParams
.
element handler
from the parser thread to run in the application thread.element declaration handler
from the parser thread to run in the
application thread.setListener
and
setParams
.
setParams
.
Element stack
implemented for coroutine parser.setCoroutine
,
setListener
and
setParser
.
setListener
and
setParser
.
setParser
.
end prefix mapping handler
from the parser thread to run in the
application thread (still under development, design may change).setListener
and
setParams
.
setParams
.
entity handler
from the parser thread to run in the application thread.Entity stack
implemented for
coroutine parser.setCoroutine
,
setListener
and
setParser
.
setListener
and
setParser
.
setParser
.
error declaration handler
from the parser thread
to run in the application thread.setListener
and
setParams
.
setParams
.
external entity declaration handler
from the parser
thread to run in the application thread.setListener
and
setParams
.
setParams
.
fatalError declaration handler
from the parser thread to run in the
application thread.setListener
and
setParams
.
setParams
.
resolve entity handler
from the parser thread to run in the application
thread.setListener
and
setParams
.
setParams
.
ignorable whitespace handler
from the parser thread to run in the
application thread.setListener
and
setParams
.
setParams
.
internal entity declaration handler
from the parser thread to run
in the application thread.setListener
and
setParams
.
setParams
.
notation declaration handler
from the parser thread to run in the
application thread.setListener
and
setParams
.
setParams
.
processing instruction handler
from the parser thread to run in the application thread.setParams
.
resolve entity handler
from the parser thread to run in
the application thread.setListener
and
setParams
.
setParams
.
skipped entity handler
from the parser thread to run in the application thread.setListener
and
setParams
.
setParams
.
start prefix mapping handler
from the parser thread to run in the
application thread (still under development, design may change).setListener
and
setParams
.
setParams
.
unparsed entity declaration handler
from the parser thread to run in the
application thread.setListener
and
setParams
.
setParams
.
warning declaration handler
from the parser thread to run in the application thread.setListener
and
setParams
.
setParams
.
Document
instance representing the XML document that
is being parsed.Dtd
instance representing the DTD for the XML document that
is being parsed.Element
instance that represents the element being
parsed, and the top element on the parser element stack.Entity
representing the entity that is being parsed.MarkedSection
instance representing the marked
section that is being parsed.CharSequence
that has changed since it was created.accepted input
data.
document
that is being
parsed.
DTD
that is being
being parsed.
element
that is
being parsed.
element
that is
being parsed, and invoke the appropriate element method for that
element, not implemented yet,throws UnsupportedOperationException.
element
that is
being parsed, and invoke the appropriate
element handler
for that element.
element
that is
being parsed, and invoke the appropriate element handler for that
element.
element
that is
being parsed, and invoke the appropriate
element handler
for that element.
element
that is
being parsed, and invoke the appropriate public element method
for that element.
Parser
.ElementListener
in the
package.ElementListener
that maps XML element names to
element handlers and invokes the appropriate handler for each element.doElement
maps an XML name to a Java identifier that cannot be used to
invoke an
element handler
.doElement
maps an XML name to a Java identifier that is not defined by
the application.Attribute
equality as identity of instances.
Element
equality as identity of instances.
Entity
objects
as equality of their names.
Receive notification of a recoverable error..
Receive notification of a recoverable error..
Listener
.
Receive notification of a non-recoverable error..
Receive notification of a non-recoverable error..
Listener
.
File
.
isFlushThrowsException
.
CharSequence
that has been
saved
as the value
for a specific key
.
Element
s entered as children of this
Element
.
Parser
instance.
Parser.getCurrentElement
.
CurrentElement
at the top of the stack
without removing it from the stack.
CurrentEntity
at the top of the stack
without removing it from the stack.
Parser.getElementStack
.
Global
, if one was provided to the
Parser
.
Mark
in its
MarkGroup
.
Mark
in its
MarkGroup
.
List
used to find a
Mark
by its index.
Listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
listener
.
listener
.
listener
.
listener
.
listener
.
Parser
in the input stream.
Parser
in the input stream.
Map
used to find a
Mark
by its key.
saving
and retrieving
character sequences as
temporary values.
saving
and retrieving
character sequences as
temporary values.
Mark
.
Mark
.
MarkGroup
that serves this
Buffer
.
MarkGroup
used by this Resequencer
.
MarkGroup
that owns this
Mark
.
Parser
instance.
delegates
for some of the methods
in Parser
.
QName
.
element
.
attribute
.
QName
.
QName
.
Reader
for the data held in the
SpillBuffer
at the time this method was invoked.
Reader
.
Element
at
the same level, when this Element
is one of a repeating
sequence with the same name.
Element
.
Listener
methods.Object.hashCode
.
Object.hashCode
.
String
entity name.
Reader
as the source.
InputControl
with methods that
do nothing.Buffer
is closed.
flush
will
throw UnsupportedOperationException
or fail silently (the default).
Parser.isParsing(QName)
.
Scanner
has been requested to stop.
NamespaceMapper
.
Parser
.Listener
methods by
by application code.Listener
interface.ScanBuffer
without returning it and without removing
it from the ScanBuffer
.
ScanBuffer
.
Mark
without a key.
Mark
coresponding to a key, creating the
Mark
if it does not already exist.
Mark
without a key.
Mark
for a specific key, creating a new
Mark
if one does not already exist.
ScanBuffer
,
removing any matching CharSequence
and returning it as
MatchedText
.
sequence of characters
that have been
matched
in a ScanBuffer
.Parser
.ScanRule
instance from
other ScanRule
instances.Attribute
.Element
.Entity
.ElementMapper
that maps XML element names in one or
more XML namespaces to element handlers and invokes the appropriate handler
for each element.elment handlers
in the
corresponding package.Buffer
specifying the fast buffer and the
overflow buffer.
Buffer
using defaults for the fast buffer
and the overflow buffer.
MarkGroup<K>
.
SpillBuffer
.
SpillBuffer
in a File
.
AbstractScanBuffer
for scanning
and matching on a CharSequence with a length that can be
increased by a request from the AbstractScanBuffer.
- newInstance(CharSequence) -
Static method in class ca.gorman.util.scan.spi.AbstractScanBuffer
- Create a
AbstractScanBuffer
for scanning and
matching on a CharSequence that has a fixed length.
- newInstance(InputScanBuffer, Appendable, RuleList) -
Method in class ca.gorman.util.scan.spi.AbstractScanState
-
- newInstance() -
Static method in class ca.gorman.xml.parse.AbstractErrorListener
-
- newInstance(Writer) -
Static method in class ca.gorman.xml.parse.AbstractErrorListener
-
- newInstance() -
Static method in class ca.gorman.xml.parse.AbstractListener
-
- newInstance() -
Static method in class ca.gorman.xml.parse.AbstractMessageListener
-
- newInstance(Writer) -
Static method in class ca.gorman.xml.parse.AbstractMessageListener
-
- newInstance() -
Static method in class ca.gorman.xml.parse.sax.NonValidatingParserFactory
-
Create a new
ParserFactory
.
- newInstance() -
Static method in class ca.gorman.xml.parse.sax.ValidatingParserFactory
-
Create a new
ParserFactory
.
- newInstance(SAXParserFactory) -
Static method in class ca.gorman.xml.parse.sax.XMLParser
-
Create an
XMLParser
.
- newInstance(QName, String, String, boolean, boolean) -
Method in class ca.gorman.xml.parse.toolkit.AbstractAttribute
-
Create an immutable AbstractAttribute.
- newInstance(char[], int, int) -
Static method in class ca.gorman.xml.parse.toolkit.AbstractCharSequence
-
Construct
CharSequence
on a subarray of characters.
- newInstance(char[]) -
Static method in class ca.gorman.xml.parse.toolkit.AbstractCharSequence
-
Construct
CharSequence
on an array of characters.
- newInstance(CharSequence) -
Static method in class ca.gorman.xml.parse.toolkit.AbstractCharSequence
-
Construct
CharSequence
on another
charSequence
.
- newInstance(QName, Attribute[]) -
Method in class ca.gorman.xml.parse.toolkit.AbstractElement
-
Create an immutable AbstractElement.
- newInstance(String) -
Method in class ca.gorman.xml.parse.toolkit.AbstractEntity
-
Create an immutable AbstractEntity.
- newMark(K) -
Method in class ca.gorman.io.Resequencer.MarkGroup
-
Create a new Mark for a specified
key
in this
MarkGroup
.
- newMark() -
Method in class ca.gorman.io.Resequencer.MarkGroup
-
Create a new Mark with no
key
in this
MarkGroup
.
- newParser() -
Method in interface ca.gorman.xml.parse.ParserFactory
-
Create a new
Parser
.
- newParser() -
Method in class ca.gorman.xml.parse.sax.NonValidatingParserFactory
-
- newParser() -
Method in class ca.gorman.xml.parse.sax.ValidatingParserFactory
-
- newRegexScanRule(String) -
Method in class ca.gorman.util.scan.RegexFactory
-
Create a
ScanRule
instance from a regular expression.
- newRegexScanRule(String, ScanAction) -
Method in class ca.gorman.util.scan.RegexFactory
-
Create a
ScanRule
instance from a regular expression.
- newScanner() -
Method in class ca.gorman.util.scan.ScannerFactory
-
Create a new
Scanner
.
- NonValidatingParserFactory<T extends Global> - Class in ca.gorman.xml.parse.sax
-
Factory for new nonvalidating
Parser
instances. - NonValidatingParserFactory(SAXParserFactory) -
Constructor for class ca.gorman.xml.parse.sax.NonValidatingParserFactory
-
- notationDecl(T, String, String, String) -
Method in class ca.gorman.xml.parse.AbstractListener
-
- notationDecl(T, String, String, String) -
Method in interface ca.gorman.xml.parse.DtdListener
-
Receive notification of a notation declaration event.
- notationDecl(String, String, String) -
Method in class ca.gorman.xml.parse.sax.SAXAdapter
-
Receive notification of a notation declaration event.
- notationDecl(String, String, String) -
Method in class ca.gorman.xml.parse.sax.SAXDumpListener
-
Receive notification of a notation declaration event.
- notationDecl(T, String, String, String) -
Method in class ca.gorman.xml.parse.toolkit.CoroutineCheckListener
-
- notationDecl(T, String, String, String) -
Method in class ca.gorman.xml.parse.util.DumpListener
-
- notationDecl(T, String, String, String) -
Method in class ca.gorman.xml.parse.util.SkipListener
-
- NullOutputWriter - Class in ca.gorman.io
-
Writer that discards all output.
- NullOutputWriter() -
Constructor for class ca.gorman.io.NullOutputWriter
-
ScanRule
.
Scanner
.
Appendable
items pushed on stack.
namespace entry
having the same namespace identifier as a previously loaded entry.element handler
classes in the package.Global
accessible to all Listener
methods.
Global
accessible
to all Listener
methods.
Document
.
Dtd
.
MarkedSection
.
Parser
implementation.Listener
methods to drive
an XML processing application.Parser
instances.ParserFactory
cannot be
created.Parser
cannot be created.current element
from the top of the
stack.
current entity
from the top of the
stack.
Parser
.CoroutineEntity
on the entity stack from
the parser thread, and invoke an
entity handler
on the entity as current entity
in the
application thread.
CoroutineElement
on the element stack,
where it will become the current element
.
CoroutineEntity
on the entity stack,
where it will become the current entity
.
CharSequence
for later
retrieval
in an
action
.
CharSequence
as the value associated with a
key
.
Parser
by invoking parsecontent
or
skipContent
trys to do so more than once.min
repetition of a ScanRule
, but accept
no more than max
repetitions.
count
repetitions of a single ScanRule
.
Scanner
to discontinue scanning at the end
of the action
from
which this method has been invoked.
Writers
that support pseudo-random
access to the output stream.Marks
with keys of type
K
and character data until all character data have been
written, and all Marks
have been associated with data
values.K
and contains other
internal data to support efficient operation.MarkGroup
that owns it.
Marks
with keys of type K
.MarkGroup<K>
with specified
List
and Map
.
Buffer
, when the amount
of data exceeds the capacity of the fast buffer used by
Buffer
.Resequencer
with the capacity to
accept data in a sequence that differs from the sequence of actual output.WriterStack
that acts as a
Resequencer
when the Writer
at
top of stack is a Resequencer
.ResequencingWriterStack
on a
ResequencingWriter
.
Mark
to its initial empty
state.
Scanner
to recognize and act on
character sequences.RuleList
items pushed on stack.
yieldToCoroutine
to request output from the coroutine.
element declaration handler
in the application thread.
CDATA marked section
handler
in the application thread.
character handler
in the application thread.
starting
an
instance of this class.
comment handler
in the application thread.
document handler
in the application thread.
DTD handler
in the application thread.
element handler
in the application thread.
element declaration handler
in the application thread.
end prefix handler
in the application thread.
element
from the entity stack and allow its
entity handler
to return from the application thread to the parser thread.
error declaration handler
in the application thread.
externalEntityDecl declaration handler
in the application thread.
fatal error declaration handler
in the application thread.
resolve entity handler
in the application thread.
ignorable whitespace handler
in the application thread.
internalEntityDecl declaration handler
in the application thread.
notation declaration handler
in the application thread.
processing instruction handler
in the application thread.
resolve entity handler
in the application thread.
skipped entity handler
in the application thread.
start prefix
handler
in the application thread.
unparsed entity declaration handler
in the application thread.
warning declaration handler
in the application thread.
SAX parser API
and
XML stream parser API
.Parser
.CoroutineCheckListener
as a Listener
on XMLParser
to verify that
Listener
methods are invoked in the
the application thread instead of the
Coroutine
thread.XMLReader
generates while parsing an XML document.SAXParser
or
XMLReader
.SAXParser
or
XMLReader
.CharSequence
with fixed content, and output to an
Appendable
.
CharSequence
with modifiable content, and
output to an Appendable
.
Reader
,
and output to an Appendable
.
ScanMatch
as a
ScanRule
.sequence of characters
that are currently available
for pattern matching.ScanBuffer
and returning the subsequences as instances of
MatchedText
..Scanner
s.Reader
with a character scanning and
matching
preprocessor.RuleList
and a different
Scanner
.
RuleList
.
ScanRule
s.
Writer
with a character scanning and
matching
postprocessor.recognizing
and
acting on
character
sequences in a ScanBuffer
.ScanRule
that delegates to a
ScanMatch
and a scanAction
.ScanMatch
, but do nothing when match
succeeds.
ScanMatch
and a
scanAction
.
Scanner
and an
action
invoked by the
Scanner
.Coroutine
.
flush
will throw
UnsupportedOperationException
or fail silently (the default).
Listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
.
listener
listener
.
listener
listener
.
listener
.
listener
.
element declaration handler
.
character handler
.
comment handler
.
DTD handler
.
element declaration handler
.
end prefix handler
.
error declaration handler
.
external entity declaration handler
.
fatalError declaration handler
.
resolve entity handler
.
ignorable whitespace handler
.
internal entity declaration handler
.
notation
declaration handler
.
processing instruction handler
.
resolve entity handler
.
skipped entity handler
.
start prefix
handler
.
unparsed entity declaration handler
.
warning declaration handler
.
Parser
instance.
Parser
instance.
Reader
as the source.
scanner state
for use by the
buffer match and act
method.
defaultClassInstance
.
skipContent
by wrapping a
Listener
and discarding element content when the
skipContent
method is invoked.Listener
that will act as a delegate
for normal operations.
Parser
.started
as an instance of
Thread
.
Mark
.
Mark
.
Location
.
parsecontent
or skipContent
fails to do so.Parser
instances.Scanner
to terminate
.
Scanner
to terminate
.
Receive notification of a warning..
Receive notification of a warning..
Listener
.
Mark
representing data that will be
supplied at some other time.
Buffer
.
Mark
.
Mark
representing data that will be supplied at
some other time.
len
chars of an array, beginning from
char[off]
.
Write a Mark
representing data that will be supplied at
some other time..
Mark
representing data that will be
supplied at some other time, creating the Mark
if it
does not exist.
Mark
representing data that will be
supplied at some other time, creating a new Mark
if one
does not already exist.
Write a Mark
representing data that will be
supplied at some other time, creating a new Mark
if one
does not already exist..
Mark
to another
character stream.
Parser
to support the
Listener
interface for parsing
XML documents.org.xml.sax.XMLReader
.
javax.xml.parsers.SAXParser
.
javax.xml.parsers.SAXParserFactory
.
ScanRule
.
ScanRule
.
|
GXPARSE download | ||||||||
PREV NEXT | FRAMES NO FRAMES |