org.activemath.webapp.tutor.cgWebService.scorm.simpleScorm2004
Class Resource
java.lang.Object
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.
|
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 |
TYPE_WEBCONTENT
public static final int TYPE_WEBCONTENT
- See Also:
- Constant Field Values
Resource
public Resource()
- All the members are initialised here.
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.