public final class DomManagerImpl extends DomManager
MOCK_ELEMENT_MODULEEVER_CHANGED, NEVER_CHANGED| Constructor and Description | 
|---|
| DomManagerImpl(Project project) | 
getDomFileDescriptiongetModificationCountincModificationCountclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetModificationCountpublic DomManagerImpl(Project project)
public long getPsiModificationCount()
public static DomManagerImpl getDomManager(Project project)
public void addDomEventListener(DomEventListener listener, Disposable parentDisposable)
addDomEventListener in class DomManagerpublic final ConverterManager getConverterManager()
getConverterManager in class DomManagerConverterManager instancepublic final ModelMerger createModelMerger()
createModelMerger in class DomManagerpublic final DomGenericInfo getGenericInfo(java.lang.reflect.Type type)
getGenericInfo in class DomManagertype - Type. Only Class and ParameterizedType are allowedDomGenericInfo instance for the desired typepublic static DomInvocationHandler getDomInvocationHandler(DomElement proxy)
public static DomInvocationHandler getNotNullHandler(DomElement proxy)
public static com.intellij.util.xml.impl.StableInvocationHandler<?> getStableInvocationHandler(java.lang.Object proxy)
public DomApplicationComponent getApplicationComponent()
public final Project getProject()
getProject in class DomManagerpublic final <T extends DomElement> DomFileElementImpl<T> getFileElement(XmlFile file, java.lang.Class<T> aClass, java.lang.String rootTagName)
getFileElement in class DomManagerpublic final java.util.Set<DomFileDescription<?>> getFileDescriptions(java.lang.String rootTagName)
public final java.util.Set<DomFileDescription<?>> getAcceptingOtherRootTagNameDescriptions()
public final java.lang.String getComponentName()
public final <T extends DomElement> DomFileElementImpl<T> getFileElement(XmlFile file)
getFileElement in class DomManagerpublic final <T extends DomElement> DomFileElementImpl<T> getFileElement(XmlFile file, java.lang.Class<T> domClass)
getFileElement in class DomManagerfile - XML filedomClass - desired DOM element classDomFileDescriptions are
 asked if they are responsible for the file DomFileDescription.isMyFile(XmlFile, Module).
 If there is a DomFileDescription that is responsible for the file, but its DomFileDescription.getRootElementClass()
 result is incompatible with domClass parameter, null is returnedpublic final DomElement getDomElement(XmlTag element)
getDomElement in class DomManagerelement - tagpublic GenericAttributeValue<?> getDomElement(XmlAttribute attribute)
getDomElement in class DomManagerattribute - attributepublic DomInvocationHandler getDomHandler(XmlElement xml)
public AbstractDomChildrenDescription findChildrenDescription(XmlTag tag, DomElement parent)
findChildrenDescription in class DomManagerpublic final boolean isDomFile(PsiFile file)
public final DomFileDescription<?> getDomFileDescription(PsiElement element)
public final <T extends DomElement> T createMockElement(java.lang.Class<T> aClass, Module module, boolean physical)
createMockElement in class DomManageraClass - Desired DOM element classmodule - One may wish the result to think that it is in a particular modulephysical - see PsiElement.isPhysical()PsiFileFactory.createFileFromText(String, com.intellij.openapi.fileTypes.FileType, CharSequence, long, boolean, boolean)public final boolean isMockElement(DomElement element)
isMockElement in class DomManagerelement - DOM elementDomManager.createMockElement(Class, Module, boolean) methodpublic final <T extends DomElement> T createStableValue(Factory<? extends T> provider)
DomManagercreateStableValue in class DomManagerprovider - provides values to be wrappedpublic final <T> T createStableValue(Factory<? extends T> provider, Condition<? super T> validator)
createStableValue in class DomManagerpublic final <T extends DomElement> void registerFileDescription(DomFileDescription<T> description, Disposable parentDisposable)
public final void registerFileDescription(DomFileDescription<?> description)
DomManagerDomFileDescription within the manager. The description parameter describes some DOM
 parameters and restrictions to the particular XML files, that need DOM support. Should be called on
 ProjectComponent loading.registerFileDescription in class DomManagerdescription - The description in questionpublic final DomElement getResolvingScope(GenericDomValue<?> element)
getResolvingScope in class DomManagerelement - reference elementDomResolveConverter uses
 this method to resolve DOM references. This result's subtree will be traversed recursively searching for the reference target. See
 Resolve annotation.public final DomElement getIdentityScope(DomElement element)
getIdentityScope in class DomManagerelement - Named DOM elementDomHighlightingHelper.checkNameIdentity(DomElement, com.intellij.util.xml.highlighting.DomElementAnnotationHolder)public TypeChooserManager getTypeChooserManager()
getTypeChooserManager in class DomManagerTypeChooserManager instance