public class ReferencedGrammarInfo extends Object
In other words, it gives information about
Constructor and Description |
---|
ReferencedGrammarInfo(ResolvedURIInfo resolvedURIInfo,
GrammarCacheInfo grammarCacheInfo,
ContentModelProvider.Identifier identifier) |
Modifier and Type | Method and Description |
---|---|
GrammarCacheInfo |
getGrammarCacheInfo()
Returns the grammar cache information and null otherwise.
|
ContentModelProvider.Identifier |
getIdentifier()
Returns the identifier (xml-model, xsi:schemaLocation,
xsi:noNamespaceSchemaLocation, DOCTYPE) and null otherwise.
|
ResolvedURIInfo |
getResolvedURIInfo()
Returns the resolved URI information (the result of the resolve and the
resolution strategy (ex : catalog, file association, etc)).
|
boolean |
isInCache()
Returns true if the grammar is in the .lemminx cache and false otherwise.
|
public ReferencedGrammarInfo(ResolvedURIInfo resolvedURIInfo, GrammarCacheInfo grammarCacheInfo, ContentModelProvider.Identifier identifier)
public ResolvedURIInfo getResolvedURIInfo()
public GrammarCacheInfo getGrammarCacheInfo()
public ContentModelProvider.Identifier getIdentifier()
public boolean isInCache()
Copyright © 2020. All rights reserved.