|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ContentType>
org.qtitools.qti.node.content.ContentType
public enum ContentType
All the types of content.
| Enum Constant Summary | |
|---|---|
A
a |
|
ABBR
abbr |
|
ACRONYM
acronym |
|
ADDRESS
address |
|
ASSOCIABLE_HOTSPOT
associableHotspot |
|
ASSOCIATE_INTERACTION
associateInteraction |
|
B
b |
|
BIG
big |
|
BLOCKQUOTE
blockquote |
|
BR
br |
|
CAPTION
caption |
|
CHOICE_INTERACTION
choiceInteraction |
|
CITE
cite |
|
CODE
code |
|
COL
col |
|
COLGROUP
colgroup |
|
CUSTOM_INTERACTION
customInteraction |
|
DD
dd |
|
DFN
dfn |
|
DIV
div |
|
DL
dl |
|
DRAWING_INTERACTION
drawingInteraction |
|
DT
dt |
|
EM
em |
|
END_ATTEMPT_INTERACTION
endAttemptInteraction |
|
EXTENDED_TEXT_INTERACTION
extendedTextInteraction |
|
FEEDBACK_BLOCK
feedbackBlock |
|
FEEDBACK_INLINE
feedbackInline |
|
GAP
gap |
|
GAP_IMG
gapImg |
|
GAP_MATCH_INTERACTION
gapMatchInteraction |
|
GAP_TEXT
gapText |
|
GRAPHIC_ASSOCIATE_INTERACTION
graphicAssociateInteraction |
|
GRAPHIC_GAP_MATCH_INTERACTION
graphicGapMatchInteraction |
|
GRAPHIC_ORDER_INTERACTION
graphicOrderInteration |
|
H1
h1 |
|
H2
h2 |
|
H3
h3 |
|
H4
h4 |
|
H5
h5 |
|
H6
h6 |
|
HOTSPOT_CHOICE
hotspotChoice |
|
HOTSPOT_INTERACTION
hotspotInteraction |
|
HOTTEXT
hottext |
|
HOTTEXT_INTERACTION
hottextInteraction |
|
HR
hr |
|
I
i |
|
IMG
img |
|
INLINE_CHOICE
inlineChoice |
|
INLINE_CHOICE_INTERACTION
inlineChoiceInteraction |
|
ITEM_BODY
itemBody |
|
KBD
kbd |
|
LI
li |
|
MATCH_INTERACTION
matchInteraction |
|
MATH
math |
|
MEDIA_INTERACTION
mediaInteraction |
|
OBJECT
object |
|
OL
ol |
|
ORDER_INTERACTION
orderInteraction |
|
P
p |
|
PARAM
param |
|
POSITION_OBJECT_INTERACTION
positionObjectInteraction |
|
POSITION_OBJECT_STAGE
positionObjectStage |
|
PRE
pre |
|
PRINTED_VARIABLE
printedVariable |
|
PROMPT
prompt |
|
Q
q |
|
RUBRIC_BLOCK
rubricBlock |
|
SAMP
samp |
|
SELECT_POINT_INTERACTION
selectPointInteraction |
|
SIMPLE_ASSOCIABLE_CHOICE
simpleAssociableChoice |
|
SIMPLE_CHOICE
simpleChoice |
|
SIMPLE_MATCH_SET
simpleMatchSet |
|
SLIDER_INTERACTION
sliderInteraction |
|
SMALL
small |
|
SPAN
span |
|
STRONG
strong |
|
SUB
sub |
|
SUP
sup |
|
TABLE
table |
|
TBODY
tbody |
|
TD
td |
|
TEMPLATE_BLOCK
templateBlock |
|
TEMPLATE_INLINE
templateInline |
|
TEXT_ENTRY_INTERACTION
textEntyInteraction |
|
TEXT_RUN
textRun |
|
TFOOT
tfoot |
|
TH
th |
|
THEAD
thead |
|
TR
tr |
|
TT
tt |
|
UL
ul |
|
UPLOAD_INTERACTION
uploadInteraction |
|
VAR
var |
|
| Method Summary | |
|---|---|
static java.util.Collection<ContentType> |
blockStaticValues()
Get blockStatic types |
static java.util.Collection<ContentType> |
blockValues()
Get block types |
abstract XmlObject |
create(XmlObject parent)
Creates block element. |
static java.util.Collection<ContentType> |
flowStaticValues()
Get flowStatic types |
static java.util.Collection<ContentType> |
flowValues()
Get flow types |
static java.util.Collection<ContentType> |
gapChoiceValues()
Get gapChoice types |
static Block |
getBlockInstance(XmlObject parent,
java.lang.String classTag)
Creates block element. |
static BlockStatic |
getBlockStaticInstance(XmlObject parent,
java.lang.String classTag)
Creates blockStatic element. |
java.lang.String |
getClassTag()
Gets CLASS_TAG of this block type. |
java.lang.Class |
getClazz()
Gets QTI class of this block type. |
static Flow |
getFlowInstance(XmlObject parent,
java.lang.String classTag)
Creates flow element. |
static FlowStatic |
getFlowStaticInstance(XmlObject parent,
java.lang.String classTag)
Creates flowStatic element. |
static GapChoice |
getGapChoiceInstance(XmlObject parent,
java.lang.String classTag)
Creates gapChoice element. |
static Inline |
getInlineInstance(XmlObject parent,
java.lang.String classTag)
Creates inline element. |
static InlineStatic |
getInlineStaticInstance(XmlObject parent,
java.lang.String classTag)
Creates inlineStatic element. |
static XmlObject |
getInstance(XmlObject parent,
java.lang.String classTag)
Creates content element. |
static Interaction |
getInteractionInstance(XmlObject parent,
java.lang.String classTag)
Creates interaction element. |
static ObjectFlow |
getObjectFlowInstance(XmlObject parent,
java.lang.String classTag)
Creates objectFlow element. |
static TextOrVariable |
getTextOrVariableInstance(XmlObject parent,
java.lang.String classTag)
Creates textOrVariable element. |
static ContentType |
getType(java.lang.String classTag)
Gets content type for given CLASS_TAG. |
static java.util.Collection<ContentType> |
inlineStaticValues()
Get inlineStatic types |
static java.util.Collection<ContentType> |
inlineValues()
Get inline types |
static java.util.Collection<ContentType> |
interactionValues()
Get interaction types |
static java.util.Collection<ContentType> |
objectFlowValues()
Get objectFlow types |
static java.util.Collection<ContentType> |
textOrVariableValues()
Get textOrVariable types |
java.lang.String |
toString()
|
static ContentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ContentType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ContentType ASSOCIATE_INTERACTION
public static final ContentType CHOICE_INTERACTION
public static final ContentType DRAWING_INTERACTION
public static final ContentType EXTENDED_TEXT_INTERACTION
public static final ContentType GAP_MATCH_INTERACTION
public static final ContentType GRAPHIC_ASSOCIATE_INTERACTION
public static final ContentType GRAPHIC_GAP_MATCH_INTERACTION
public static final ContentType GRAPHIC_ORDER_INTERACTION
public static final ContentType HOTSPOT_INTERACTION
public static final ContentType SELECT_POINT_INTERACTION
public static final ContentType HOTTEXT_INTERACTION
public static final ContentType MATCH_INTERACTION
public static final ContentType MEDIA_INTERACTION
public static final ContentType ORDER_INTERACTION
public static final ContentType SLIDER_INTERACTION
public static final ContentType UPLOAD_INTERACTION
public static final ContentType ADDRESS
public static final ContentType H1
public static final ContentType H2
public static final ContentType H3
public static final ContentType H4
public static final ContentType H5
public static final ContentType H6
public static final ContentType P
public static final ContentType PRE
public static final ContentType DIV
public static final ContentType DL
public static final ContentType HR
public static final ContentType MATH
public static final ContentType OL
public static final ContentType BLOCKQUOTE
public static final ContentType FEEDBACK_BLOCK
public static final ContentType RUBRIC_BLOCK
public static final ContentType TABLE
public static final ContentType UL
public static final ContentType CUSTOM_INTERACTION
public static final ContentType POSITION_OBJECT_STAGE
public static final ContentType POSITION_OBJECT_INTERACTION
public static final ContentType END_ATTEMPT_INTERACTION
public static final ContentType INLINE_CHOICE_INTERACTION
public static final ContentType TEXT_ENTRY_INTERACTION
public static final ContentType BR
public static final ContentType IMG
public static final ContentType GAP
public static final ContentType HOTTEXT
public static final ContentType OBJECT
public static final ContentType PRINTED_VARIABLE
public static final ContentType A
public static final ContentType ABBR
public static final ContentType ACRONYM
public static final ContentType B
public static final ContentType BIG
public static final ContentType CITE
public static final ContentType CODE
public static final ContentType DFN
public static final ContentType EM
public static final ContentType FEEDBACK_INLINE
public static final ContentType I
public static final ContentType KBD
public static final ContentType Q
public static final ContentType SAMP
public static final ContentType SMALL
public static final ContentType SPAN
public static final ContentType STRONG
public static final ContentType SUB
public static final ContentType SUP
public static final ContentType TT
public static final ContentType VAR
public static final ContentType TEMPLATE_INLINE
public static final ContentType TEXT_RUN
public static final ContentType PARAM
public static final ContentType CAPTION
public static final ContentType SIMPLE_CHOICE
public static final ContentType SIMPLE_ASSOCIABLE_CHOICE
public static final ContentType SIMPLE_MATCH_SET
public static final ContentType GAP_IMG
public static final ContentType GAP_TEXT
public static final ContentType ASSOCIABLE_HOTSPOT
public static final ContentType HOTSPOT_CHOICE
public static final ContentType INLINE_CHOICE
public static final ContentType COL
public static final ContentType COLGROUP
public static final ContentType DD
public static final ContentType DT
public static final ContentType ITEM_BODY
public static final ContentType LI
public static final ContentType PROMPT
public static final ContentType TD
public static final ContentType TH
public static final ContentType TBODY
public static final ContentType TFOOT
public static final ContentType THEAD
public static final ContentType TR
public static final ContentType TEMPLATE_BLOCK
| Method Detail |
|---|
public static final ContentType[] values()
for(ContentType c : ContentType.values())
System.out.println(c);
public static ContentType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic static java.util.Collection<ContentType> blockValues()
public static java.util.Collection<ContentType> flowValues()
public static java.util.Collection<ContentType> inlineValues()
public static java.util.Collection<ContentType> objectFlowValues()
public static java.util.Collection<ContentType> inlineStaticValues()
public static java.util.Collection<ContentType> flowStaticValues()
public static java.util.Collection<ContentType> textOrVariableValues()
public static java.util.Collection<ContentType> blockStaticValues()
public static java.util.Collection<ContentType> gapChoiceValues()
public static java.util.Collection<ContentType> interactionValues()
public java.lang.String getClassTag()
public java.lang.Class getClazz()
public abstract XmlObject create(XmlObject parent)
parent - parent of created block
public java.lang.String toString()
toString in class java.lang.Enum<ContentType>public static ContentType getType(java.lang.String classTag)
classTag - CLASS_TAG
public static XmlObject getInstance(XmlObject parent,
java.lang.String classTag)
parent - parent of created contentclassTag - CLASS_TAG of created content
public static Block getBlockInstance(XmlObject parent,
java.lang.String classTag)
parent - parent of created blockclassTag - CLASS_TAG of created block
public static Inline getInlineInstance(XmlObject parent,
java.lang.String classTag)
parent - parent of created inlineclassTag - CLASS_TAG of created inline
public static Flow getFlowInstance(XmlObject parent,
java.lang.String classTag)
parent - parent of created flowclassTag - CLASS_TAG of created flow
public static ObjectFlow getObjectFlowInstance(XmlObject parent,
java.lang.String classTag)
parent - parent of created objectFlowclassTag - CLASS_TAG of created objectFlow
public static InlineStatic getInlineStaticInstance(XmlObject parent,
java.lang.String classTag)
parent - parent of created inlineStaticclassTag - CLASS_TAG of created inlineStatic
public static FlowStatic getFlowStaticInstance(XmlObject parent,
java.lang.String classTag)
parent - parent of created flowStaticclassTag - CLASS_TAG of created flowStatic
public static TextOrVariable getTextOrVariableInstance(XmlObject parent,
java.lang.String classTag)
parent - parent of created textOrVariableclassTag - CLASS_TAG of created textOrVariable
public static BlockStatic getBlockStaticInstance(XmlObject parent,
java.lang.String classTag)
parent - parent of created blockStaticclassTag - CLASS_TAG of created blockStatic
public static GapChoice getGapChoiceInstance(XmlObject parent,
java.lang.String classTag)
parent - parent of created gapChoiceclassTag - CLASS_TAG of created gapChoice
public static Interaction getInteractionInstance(XmlObject parent,
java.lang.String classTag)
parent - parent of created interactionclassTag - CLASS_TAG of created interaction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||