public interface ListItem extends StructuralNode
SUBSTITUTION_ATTRIBUTES, SUBSTITUTION_MACROS, SUBSTITUTION_POST_REPLACEMENTS, SUBSTITUTION_QUOTES, SUBSTITUTION_REPLACEMENTS, SUBSTITUTION_SPECIAL_CHARACTERS
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMarker() |
java.lang.String |
getSource() |
java.lang.String |
getText() |
boolean |
hasText() |
void |
setSource(java.lang.String source)
Sets the source of the ListItem.
|
addSubstitution, append, blocks, content, convert, findBy, getBlocks, getCaption, getContent, getContentModel, getLevel, getSourceLocation, getStyle, getSubstitutions, getTitle, isSubstitutionEnabled, prependSubstitution, removeSubstitution, setCaption, setStyle, setSubstitutions, setTitle, style, title
addRole, context, document, getAttr, getAttr, getAttr, getAttribute, getAttribute, getAttribute, getAttributes, getContext, getDocument, getId, getNodeName, getParent, getReftext, getRole, getRoles, hasAttr, hasAttr, hasAttribute, hasAttribute, hasRole, iconUri, id, imageUri, imageUri, isAttr, isAttr, isAttribute, isAttribute, isBlock, isInline, isOption, isReftext, isRole, mediaUri, normalizeWebPath, parent, readAsset, removeRole, role, setAttr, setAttribute, setId
java.lang.String getMarker()
java.lang.String getText()
java.lang.RuntimeException
- when no text is set. Consider calling hasText()
before calling this method.java.lang.String getSource()
void setSource(java.lang.String source)
source
- The source of this ListItem, substitutions will still be applied.boolean hasText()