public class TextAnnotationImpl extends ArtifactImpl implements TextAnnotation
Modifier and Type | Field and Description |
---|---|
protected static ChildElement<Text> |
textChild |
protected static Attribute<String> |
textFormatAttribute |
descriptionChild, extensionElementsChild, idAttribute, labelAttribute
modelInstance
Constructor and Description |
---|
TextAnnotationImpl(ModelTypeInstanceContext instanceContext) |
Modifier and Type | Method and Description |
---|---|
Text |
getText() |
String |
getTextFormat() |
static void |
registerType(ModelBuilder modelBuilder) |
void |
setText(Text text) |
void |
setTextFormat(String textFormat) |
getDescription, getExtensionElements, getId, getLabel, setDescription, setExtensionElements, setId, setLabel
addChildElement, asSet, equals, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, hashCode, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getDescription, getExtensionElements, getId, getLabel, setDescription, setExtensionElements, setId, setLabel
addChildElement, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
protected static ChildElement<Text> textChild
public TextAnnotationImpl(ModelTypeInstanceContext instanceContext)
public String getTextFormat()
getTextFormat
in interface TextAnnotation
public void setTextFormat(String textFormat)
setTextFormat
in interface TextAnnotation
public Text getText()
getText
in interface TextAnnotation
public void setText(Text text)
setText
in interface TextAnnotation
public static void registerType(ModelBuilder modelBuilder)
Copyright © 2022. All rights reserved.