Package | Description |
---|---|
casxml |
Provides classes to handle CAS (Character Animation Stream) XML data input.
|
player |
Provides several signed-animation players:
each player combines a JARP avatar canvas with a source
of animation data, and provides an API allowing an enclosing GUI
container both to control this player and to obtain status information
from it in real-time.
|
sigmlanim |
Provides classes supporting the conversion of SiGML to CAS data streams,
using a JNI interface to the animgen library.
|
sigmlanim.sigmlstream |
Provides classes and interfaces supporting the SAX-based processing of SiGML
data as a "stream", that is, real-time event-driven processing of a SiGML
document, allowing earlier signs in the document to be processed -- for example,
to be animated -- before later signs in the document have been received.
|
sigmlanim.sigmlstream.interfaces |
The collection of interfaces for "streamed" SiGML processing, implemented
mainly in the parent package,
sigmlanim.sigmlstream.
|
Modifier and Type | Method and Description |
---|---|
AnimatedSign[] |
CASHandler.extractAnimation()
Returns the sequence of animated signs generated by this handler.
|
static AnimatedSign[] |
CASHandler.readCASSigns(org.xml.sax.InputSource cassrc)
Reads the CAS 2.1 document at the given input source, converting it
to an array of
AnimatedSign s, and returning this
array -- or returning null if a
XMLScanner.ScanException occurs. |
static AnimatedSign[] |
CASHandler.readCASSigns(java.io.InputStream casins)
Reads the CAS 2.1 document on the given input stream, converting it
to an array of
AnimatedSign s, and returning this
array -- or returning null if a
XMLScanner.ScanException occurs. |
static AnimatedSign[] |
CASHandler.readCASSigns(java.lang.String casurl)
Reads the CAS 2.1 document at the given URL, converting it to
an array of
AnimatedSign s, and returning this
array -- or returning null if a
XMLScanner.ScanException occurs. |
Modifier and Type | Method and Description |
---|---|
static void |
CASWriter.writeDocument(java.io.Writer wrtr,
java.lang.String av,
AnimatedSign[] signs)
Writes the given animation, for the given avatar, in CAS 2.1 format
to the given writer, specifying the standard encoding (UTF-8).
|
static void |
CASWriter.writeDocument(java.io.Writer wrtr,
java.lang.String enc,
java.lang.String av,
AnimatedSign[] signs)
Writes the given animation, for the given avatar, in CAS 2.1 format
to the given writer, specifying the given encoding.
|
Constructor and Description |
---|
CASWriter(java.io.Writer wrtr,
java.lang.String av,
AnimatedSign[] signs)
Constructs a new CAS writer, for the given avatar and animated
sign sequence, to the given writer, using the standard XML encoding,
indentation unit and CAS version number (2.1).
|
CASWriter(java.io.Writer wrtr,
java.lang.String enc,
java.lang.String av,
AnimatedSign[] signs)
Constructs a new CAS writer specifying the given XML encoding, for
the given avatar and animated sign sequence, to the given writer,
using the standard XML indentation unit and CAS version number (2.1).
|
CASWriter(java.io.Writer wrtr,
java.lang.String enc,
java.lang.String inunit,
java.lang.String vn,
java.lang.String av,
AnimatedSign[] signs)
Constructs a new CAS writer specifying the given XML encoding, for
the given avatar and animated sign sequence, to the given writer,
using the given indentation unit and CAS version number.
|
Modifier and Type | Method and Description |
---|---|
AnimatedSign |
JAFramesPlayer.currentSign()
Returns the current sign for this player's animation scan,
or
null if the player currently has no animation scan. |
AnimatedSign |
AnimationScan.sign()
Returns the current sign if any, otherwise null.
|
AnimatedSign |
AnimationScan.sign(int s)
Returns the sign with the given index, assuming this scan has signs,
and the index is valid.
|
AnimatedSign[] |
SignsArrayAccess.signs()
Returns the currently available signs array.
|
Modifier and Type | Method and Description |
---|---|
AnimatedSign |
SignsArraySupplier.getNextSignToBeAnimated()
Returns the next sign from this supplier's sign sequence.
|
AnimatedSign[] |
SiGMLReader.readFile(java.io.File f)
Reads SiGML from the given file, converts it to an array
of
AnimatedSign descriptions, and returns the result. |
AnimatedSign[] |
SiGMLReader.readFile(java.lang.String path)
Reads SiGML from the given file path, converts it to an array
of
AnimatedSign descriptions, and returns the result. |
AnimatedSign[] |
SiGMLReader.readString(java.lang.String sigmlstr)
Converts the given SiGML string to an array of
AnimatedSign descriptions, and returns the result. |
AnimatedSign[] |
SiGMLReader.readURL(java.net.URL url)
Reads SiGML from the given URL, converts it to an array
of
AnimatedSign descriptions, and returns the result. |
Modifier and Type | Method and Description |
---|---|
java.util.List<AnimatedSign> |
SignsListBuilder.getSigns()
Returns this builder's final signs list.
|
Modifier and Type | Method and Description |
---|---|
void |
SignsArraySupplier.putProcessedSign(AnimatedSign as) |
void |
SiGMLAnimation.setNextSign(AnimatedSign as)
Accepts the given sign (not yet animated) as the next one in
this animation.
|
void |
SignsListBuilder.setNextSign(AnimatedSign as)
Adds the next sign to the list.
|
Constructor and Description |
---|
SiGMLAnimation(float fps,
AnimatedSign[] asigns)
Constructs a new animation from the given sequence of signs,
which are assumed already to have had animation frames attached
to them: the animation's frame sequence is constructed from
these individual sequences (before this constructor execution
completes).
|
SignsArraySupplier(AnimatedSign[] signs)
Constructs a new SiGML signs supplier, usign the given data.
|
Modifier and Type | Method and Description |
---|---|
AnimatedSign |
FilteringSupplierForAnimGen.getNextSignToBeAnimated()
Returns the next sign to be animated, or
null if the source
sign stream is exhausted. |
AnimatedSign |
SiGMLInputAnimGenCoordinator.getNextSignToBeAnimated()
Blocks if necessary until sufficent data is available, and then
returns the next sign for animation generation, or
null if
the input sign sequence is known to be exhausted. |
Modifier and Type | Method and Description |
---|---|
void |
FilteringSupplierForAnimGen.putProcessedSign(AnimatedSign sign) |
void |
SiGMLInputAnimGenCoordinator.putProcessedSign(AnimatedSign as) |
void |
SiGMLInputAnimGenCoordinator.setNextSignWithAnim(AnimatedSign sign)
Accepts the next sign as one with animation data already attached,
passing it on to this coordinator's animation builder, and queuing
it so that it can be supplied when requested from this coordinator's
target animation generator.
|
Modifier and Type | Method and Description |
---|---|
AnimatedSign |
StreamedSiGMLSupplierForAnimationGen.getNextSignToBeAnimated()
Returns next SiGML sign to be animated, or
null , if
the sign stream is exhausted. |
Modifier and Type | Method and Description |
---|---|
void |
StreamedSiGMLSupplierForAnimationGen.putProcessedSign(AnimatedSign as)
Accepts a notification from this supplier's client indicating that
it has processed a sign in the stream.
|
void |
SiGMLAnimationBuildHandler.setNextSign(AnimatedSign as)
Notifies this handler that the given sign is the next one
in the sequence under construction.
|
void |
StreamedSiGMLReceiver.setNextSignWithAnim(AnimatedSign sign)
Supplies the next sign obtained (indirectly) from the source SiGML
document to the receiver, as a sign with animation data already attached.
|