Class BindableCatalogEntry

java.lang.Object
org.eclipse.lemminx.extensions.contentmodel.commands.BindableCatalogEntry

public class BindableCatalogEntry extends Object
Represents a catalog entry that can be used to bind an XML document to a grammar. Serialized as JSON for the LSP response.
  • Constructor Details

    • BindableCatalogEntry

      public BindableCatalogEntry()
    • BindableCatalogEntry

      public BindableCatalogEntry(String catalogURI, String entryType, String identifier, String targetURI, String uriValue, String grammarType)
      Parameters:
      catalogURI - which catalog file this entry comes from
      entryType - "public", "system", or "uri"
      identifier - the publicId, systemId, or name attribute value
      targetURI - the resolved URI to the grammar file
      uriValue - the raw uri attribute value from the catalog entry
      grammarType - "xsd", "dtd", "rng", "rnc", or null if unknown
  • Method Details

    • getCatalogURI

      public String getCatalogURI()
    • getEntryType

      public String getEntryType()
    • getIdentifier

      public String getIdentifier()
    • getTargetURI

      public String getTargetURI()
    • getUriValue

      public String getUriValue()
    • getGrammarType

      public String getGrammarType()