Class CatalogEntry
java.lang.Object
org.eclipse.lemminx.extensions.catalog.CatalogEntry
- Direct Known Subclasses:
CatalogCatalogEntry,URICatalogEntry
Represents a catalog entry that references an external document
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the base URI for this catalog entryprotected DOMElementReturns the element that corresponds with this catalog entryabstract DOMRangeReturns the range in the document where the link to an external document is, or null if this catalog entry does not refer to an external documentabstract StringReturns the URI for the document that this catalog entry references, or null if this catalog entry does not refer to an external document
-
Constructor Details
-
CatalogEntry
- Parameters:
baseURI-'s xml:base + 's xml:base (if in a ) entryElement- the element that corresponds with this catalog entry
-
-
Method Details
-
getBaseURI
Returns the base URI for this catalog entry- Returns:
- the base URI for this catalog entry
-
getEntryElement
Returns the element that corresponds with this catalog entry- Returns:
- the element that corresponds with this catalog entry
-
getLinkRange
Returns the range in the document where the link to an external document is, or null if this catalog entry does not refer to an external document- Returns:
- the range in the document where the link to an external document is
-
getResolvedURI
Returns the URI for the document that this catalog entry references, or null if this catalog entry does not refer to an external document- Returns:
- the URI for the document that this catalog entry references
-