|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qtitools.qti.node.AbstractNode
org.qtitools.qti.node.AbstractObject
org.qtitools.qti.node.item.Stylesheet
public class Stylesheet
Used to associate an external stylesheet with an assessmentItem.
| Field Summary | |
|---|---|
static java.lang.String |
ATTR_HREF_NAME
Name of href attribute in xml schema. |
static java.lang.String |
ATTR_MEDIA_NAME
Name of media attribute in xml schema. |
static java.lang.String |
ATTR_TITLE_NAME
Name of title attribute in xml schema. |
static java.lang.String |
ATTR_TYPE_NAME
Name of type attribute in xml schema. |
static java.lang.String |
CLASS_TAG
Name of this class in xml schema. |
| Fields inherited from interface org.qtitools.qti.node.XmlNode |
|---|
INDENT, NEW_LINE, SIMPLE_NAME_INNER_SEPARATOR, SIMPLE_NAMES_SEPARATOR |
| Constructor Summary | |
|---|---|
Stylesheet(AssessmentItem parent)
Construct A stylesheet |
|
| Method Summary | |
|---|---|
java.lang.String |
getClassTag()
Gets QTI class name of this node. |
java.net.URI |
getHref()
Gets value of href attribute. |
java.lang.String |
getMedia()
Gets value of media attribute. |
java.lang.String |
getTitle()
Gets value of title attribute. |
java.lang.String |
getType()
Gets value of type attribute. |
void |
setHref(java.net.URI href)
Sets new value of href attribute. |
void |
setMedia(java.lang.String media)
Sets new value of media attribute. |
void |
setTitle(java.lang.String title)
Sets new value of title attribute. |
void |
setType(java.lang.String type)
Sets new value of type attribute. |
| Methods inherited from class org.qtitools.qti.node.AbstractObject |
|---|
getParent, getParentItem, getParentResult, getParentTest, setParent |
| Methods inherited from class org.qtitools.qti.node.AbstractNode |
|---|
attrToXmlString, bodyToXmlString, getAttributes, getFullName, getIndent, getNode, getNode, getNode, getNodeGroups, getParentRoot, getSimpleName, getSourceFile, getSourceNode, getSourceString, getSourceUrl, hasChildNodes, load, load, load, load, loadAttributes, readChild, readChildren, setParent, setSourceFile, setSourceNode, setSourceString, setSourceUrl, toXmlString, toXmlString, validate, validateAttributes, validateChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.qtitools.qti.node.XmlNode |
|---|
getAttributes, getFullName, getNodeGroups, getParentRoot, getSimpleName, getSourceFile, getSourceNode, getSourceString, getSourceUrl, hasChildNodes, load, load, load, load, setSourceFile, setSourceNode, setSourceString, setSourceUrl, toXmlString, toXmlString |
| Methods inherited from interface org.qtitools.qti.validation.Validatable |
|---|
validate |
| Field Detail |
|---|
public static final java.lang.String CLASS_TAG
public static final java.lang.String ATTR_HREF_NAME
public static final java.lang.String ATTR_TYPE_NAME
public static final java.lang.String ATTR_MEDIA_NAME
public static final java.lang.String ATTR_TITLE_NAME
| Constructor Detail |
|---|
public Stylesheet(AssessmentItem parent)
parent - Parent assessmentItem| Method Detail |
|---|
public java.lang.String getClassTag()
XmlNodeQTI class name has very important role during loading/saving nodes.
For example: Java class name is AssessmentTest; QTI class name is assessmentTest.
getClassTag in interface XmlNodegetClassTag in class AbstractNodepublic java.net.URI getHref()
setHref(java.net.URI)public void setHref(java.net.URI href)
href - new value of href attributegetHref()public java.lang.String getType()
setType(java.lang.String)public void setType(java.lang.String type)
type - new value of type attributegetType()public java.lang.String getMedia()
setMedia(java.lang.String)public void setMedia(java.lang.String media)
media - new value of media attributegetMedia()public java.lang.String getTitle()
setTitle(java.lang.String)public void setTitle(java.lang.String title)
title - new value of title attributegetTitle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||