sigmlanim
Class NonStreamedAnimationLoader

java.lang.Object
  extended by sigmlanim.StreamableAnimationLoader
      extended by sigmlanim.NonStreamedAnimationLoader

public class NonStreamedAnimationLoader
extends StreamableAnimationLoader

Generates a SiGML animation for a given SiGML URL or string, using JAnimgen in non-streamed generation mode.


Constructor Summary
NonStreamedAnimationLoader(JAOptions jopts, java.io.InputStream sins)
          Constructs a new animation loader for the given options set and SiGML input stream.
NonStreamedAnimationLoader(JAOptions jopts, java.lang.String url)
          Constructs a new animation loader for the given options set and SiGML URL.
NonStreamedAnimationLoader(JAOptions jopts, java.io.StringReader srdr)
          Constructs a new animation loader for the given options set and SiGML string reader.
NonStreamedAnimationLoader(JAOptions jopts, java.net.URL url)
          Constructs a new animation loader for the given options set and SiGML URL.
NonStreamedAnimationLoader(java.lang.String av, JAOptions jopts, java.io.InputStream sins)
          Constructs a new animation loader for the given options set and SiGML input stream.
NonStreamedAnimationLoader(java.lang.String av, JAOptions jopts, java.lang.String url)
          Constructs a new animation loader for the given options set and SiGML URL.
NonStreamedAnimationLoader(java.lang.String av, JAOptions jopts, java.io.StringReader srdr)
          Constructs a new animation loader for the given avatar, options set and SiGML string reader.
NonStreamedAnimationLoader(java.lang.String av, JAOptions jopts, java.net.URL url)
          Constructs a new animation loader for the given avatar, options set and SiGML URL.
 
Method Summary
 SiGMLAnimation getAnimation()
          Returns the animation produced by this loader, or null if an error occurred during the SiGML loading or animation generation steps.
static CASFrame getRestPose(java.lang.String av, JAOptions jopts)
           
 void processSiGML()
          Processes this loader's SiGML input, generating the corresponding sequence of signs from it and attaching animation frames to those signs.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonStreamedAnimationLoader

public NonStreamedAnimationLoader(JAOptions jopts,
                                  java.net.URL url)
Constructs a new animation loader for the given options set and SiGML URL.


NonStreamedAnimationLoader

public NonStreamedAnimationLoader(java.lang.String av,
                                  JAOptions jopts,
                                  java.net.URL url)
Constructs a new animation loader for the given avatar, options set and SiGML URL.


NonStreamedAnimationLoader

public NonStreamedAnimationLoader(JAOptions jopts,
                                  java.lang.String url)
Constructs a new animation loader for the given options set and SiGML URL.


NonStreamedAnimationLoader

public NonStreamedAnimationLoader(java.lang.String av,
                                  JAOptions jopts,
                                  java.lang.String url)
Constructs a new animation loader for the given options set and SiGML URL.


NonStreamedAnimationLoader

public NonStreamedAnimationLoader(JAOptions jopts,
                                  java.io.StringReader srdr)
Constructs a new animation loader for the given options set and SiGML string reader.


NonStreamedAnimationLoader

public NonStreamedAnimationLoader(java.lang.String av,
                                  JAOptions jopts,
                                  java.io.StringReader srdr)
Constructs a new animation loader for the given avatar, options set and SiGML string reader.


NonStreamedAnimationLoader

public NonStreamedAnimationLoader(JAOptions jopts,
                                  java.io.InputStream sins)
Constructs a new animation loader for the given options set and SiGML input stream.


NonStreamedAnimationLoader

public NonStreamedAnimationLoader(java.lang.String av,
                                  JAOptions jopts,
                                  java.io.InputStream sins)
Constructs a new animation loader for the given options set and SiGML input stream.

Method Detail

processSiGML

public void processSiGML()
Processes this loader's SiGML input, generating the corresponding sequence of signs from it and attaching animation frames to those signs.

Specified by:
processSiGML in class StreamableAnimationLoader

getAnimation

public SiGMLAnimation getAnimation()
Returns the animation produced by this loader, or null if an error occurred during the SiGML loading or animation generation steps.

Specified by:
getAnimation in class StreamableAnimationLoader

getRestPose

public static CASFrame getRestPose(java.lang.String av,
                                   JAOptions jopts)