public class AttributeChildInvocationHandler extends DomInvocationHandler
ACCEPT_CHILDREN_METHOD, ACCEPT_METHOD, myStubEMPTY_ARRAY| Modifier | Constructor and Description |
|---|---|
protected |
AttributeChildInvocationHandler(EvaluatedXmlName attributeName,
AttributeChildDescriptionImpl description,
DomManagerImpl manager,
DomParentStrategy strategy,
AttributeStub stub) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptChildren(DomElementVisitor visitor) |
void |
copyFrom(DomElement other) |
<T extends DomElement> |
createStableCopy() |
XmlTag |
ensureTagExists() |
XmlAttribute |
ensureXmlElementExists() |
protected java.lang.String |
getValue() |
XmlTag |
getXmlTag() |
protected boolean |
isAttribute() |
protected XmlElement |
recomputeXmlElement(DomInvocationHandler parent) |
protected XmlTag |
setEmptyXmlTag() |
protected void |
setValue(java.lang.String value) |
void |
undefineInternal() |
accept, addCollectionChild, addRequiredChildren, assertValid, checkValidity, createChildTag, createEvaluatedXmlName, createFixedChildrenTags, createMockCopy, createPathStableCopy, deleteTag, detach, equals, exists, fireUndefinedEvent, getAnnotation, getChildDescription, getClassAnnotation, getCollectionChildren, getCollectionChildren, getDomElementType, getFile, getGenericInfo, getManager, getModule, getNameStrategy, getParent, getParentOfType, getPresentation, getProxy, getRawType, getResolveScope, getScalarConverter, getStub, getXmlElement, getXmlElementName, getXmlElementNamespace, getXmlElementNamespaceKey, getXmlName, hashCode, invoke, isValid, narrowType, setXmlElement, toString, undefinechangeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapfinalize, getClass, notify, notifyAll, wait, wait, waitgetUserData, putUserDataprotected AttributeChildInvocationHandler(EvaluatedXmlName attributeName, AttributeChildDescriptionImpl description, DomManagerImpl manager, DomParentStrategy strategy, AttributeStub stub)
public void acceptChildren(DomElementVisitor visitor)
acceptChildren in interface DomElementacceptChildren in class DomInvocationHandlerprotected final XmlTag setEmptyXmlTag()
setEmptyXmlTag in class DomInvocationHandlerprotected boolean isAttribute()
isAttribute in class DomInvocationHandlerprotected XmlElement recomputeXmlElement(DomInvocationHandler parent)
recomputeXmlElement in class DomInvocationHandlerpublic final XmlAttribute ensureXmlElementExists()
ensureXmlElementExists in interface DomElementensureXmlElementExists in class DomInvocationHandlerpublic <T extends DomElement> T createStableCopy()
createStableCopy in interface DomElementcreateStableCopy in class DomInvocationHandlerDomManager.createStableValue(com.intellij.openapi.util.Factory)}),
that holds the complete 'XPath' to this element in XML. If this element is in collection, and something
is inserted before it, the stable copy behaviour may be unexpected. So use this method only when you
are sure that nothing serious will happen during the lifetime of the stable copy. The most usual use
case is when one creates something inside WriteCommandAction and
wants to use it outside the action. Due to formatting done on the command finish the element may become
invalidated, but the stable copy will survive, because nothing in fact has changed in its 'XPath'.public final void undefineInternal()
undefineInternal in class DomInvocationHandlerpublic final XmlTag getXmlTag()
getXmlTag in interface DomElementgetXmlTag in class DomInvocationHandlerpublic final XmlTag ensureTagExists()
ensureTagExists in interface DomElementensureTagExists in class DomInvocationHandlerprotected java.lang.String getValue()
getValue in class DomInvocationHandlerprotected void setValue(java.lang.String value)
setValue in class DomInvocationHandlerpublic void copyFrom(DomElement other)
copyFrom in interface DomElementcopyFrom in class DomInvocationHandler