public class IncludedXmlText extends IncludedXmlElement<XmlText> implements XmlText
Iconable.IconFlags, Iconable.LastComputedIcon
myManager
FLAGS_LOCKED, ICON_PLACEHOLDER
EMPTY_ARRAY
DEPENDING_ELEMENT, DO_NOT_VALIDATE, INCLUDING_ELEMENT
ARRAY_FACTORY
ICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
EMPTY_NAVIGATABLE_ELEMENT_ARRAY
EMPTY_NAVIGATION_ITEM_ARRAY
Constructor and Description |
---|
IncludedXmlText(XmlText original,
XmlTag parent) |
Modifier and Type | Method and Description |
---|---|
int |
displayToPhysical(int offset) |
XmlTagChild |
getNextSiblingInTag() |
XmlTag |
getParentTag() |
XmlTagChild |
getPrevSiblingInTag() |
java.lang.String |
getText()
Returns the text of the PSI element.
|
java.lang.String |
getValue()
Substituted text
|
XmlElement |
insertAtOffset(XmlElement element,
int displayOffset) |
void |
insertText(java.lang.String text,
int displayOffset) |
int |
physicalToDisplay(int offset) |
void |
removeText(int displayStart,
int displayEnd) |
void |
setValue(java.lang.String s) |
XmlText |
split(int displayIndex) |
equals, getContainingFile, getNavigationElement, getOriginal, getParent, hashCode, isValid, processElements, toString
accept, add, addAfter, addBefore, checkAdd, checkDelete, copy, delete, findElementAt, getChildren, getLanguage, getManager, getNextSibling, getNode, getPrevSibling, getStartOffsetInParent, getTextLength, getTextOffset, getTextRange, isPhysical, isWritable, replace, setNavigationElement, textMatches, textMatches, textToCharArray
acceptChildren, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, deleteChildRange, findChildByClass, findChildrenByClass, findNotNullChildByClass, findReferenceAt, getContext, getFirstChild, getLastChild, getName, getOriginalElement, getPresentation, getProject, getReference, getReferences, getResolveScope, getUseScope, isEquivalentTo, navigate, notNullChild, processDeclarations, textContains
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlags
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
finalize, getClass, notify, notifyAll, wait, wait, wait
processElements, skipValidation
accept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getNode, getOriginalElement, getOwnReferences, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray, toString
getUserData, putUserData
public XmlTag getParentTag()
getParentTag
in interface XmlTagChild
public XmlTagChild getNextSiblingInTag()
getNextSiblingInTag
in interface XmlTagChild
public XmlTagChild getPrevSiblingInTag()
getPrevSiblingInTag
in interface XmlTagChild
public java.lang.String getText()
PsiElement
getText
in interface PsiElement
getText
in interface XmlText
getText
in class LightElement
PsiElement.textMatches(java.lang.CharSequence)
,
PsiElement.textContains(char)
public java.lang.String getValue()
XmlText
public void setValue(java.lang.String s) throws IncorrectOperationException
setValue
in interface XmlText
IncorrectOperationException
public XmlElement insertAtOffset(XmlElement element, int displayOffset) throws IncorrectOperationException
insertAtOffset
in interface XmlText
IncorrectOperationException
public void insertText(java.lang.String text, int displayOffset) throws IncorrectOperationException
insertText
in interface XmlText
IncorrectOperationException
public void removeText(int displayStart, int displayEnd) throws IncorrectOperationException
removeText
in interface XmlText
IncorrectOperationException
public int physicalToDisplay(int offset)
physicalToDisplay
in interface XmlText
public int displayToPhysical(int offset)
displayToPhysical
in interface XmlText