org.activemath.webapp.tutor.cgWebService.scorm.simpleScorm2004
Class Resource

java.lang.Object
  extended by org.activemath.webapp.tutor.cgWebService.scorm.simpleScorm2004.Resource

public class Resource
extends Object

This class represents Resource in Manifest according to SCORM2004 specification for Content Packaging. Resource can be output as XML Stream.


Field Summary
static int TYPE_WEBCONTENT
           
 
Constructor Summary
Resource()
          All the members are initialised here.
 
Method Summary
 void dump(StringBuffer buf, int depth)
          Dumps the contents of this subtree into the provided string buffer.
 void parse(OJref ref)
          Parses a given reference with the goal of creating a "resource" in Manifest.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_WEBCONTENT

public static final int TYPE_WEBCONTENT
See Also:
Constant Field Values
Constructor Detail

Resource

public Resource()
All the members are initialised here.

Method Detail

parse

public void parse(OJref ref)
Parses a given reference with the goal of creating a "resource" in Manifest. Currently we use the reference for both the "identifier" and the "hyperlinkreference".

Parameters:
ref -

dump

public void dump(StringBuffer buf,
                 int depth)
Dumps the contents of this subtree into the provided string buffer.