public class CatalogUtils extends Object
Constructor and Description |
---|
CatalogUtils() |
Modifier and Type | Method and Description |
---|---|
static List<CatalogEntry> |
getCatalogEntries(DOMDocument document)
Returns a list of all the catalog entries in the given document, or an empty
list if the document is not a catalog.
|
static DOMAttr |
getCatalogEntryCatalog(DOMElement element)
Returns the catalog attribute node of the given catalog entry or null if
there is no catalog attribute
|
static DOMAttr |
getCatalogEntryURI(DOMElement element)
Returns the uri attribute node of the given catalog entry or null if there is
no uri attribute
|
public static List<CatalogEntry> getCatalogEntries(DOMDocument document)
public static DOMAttr getCatalogEntryURI(DOMElement element)
element
- The catalog entry to get the uri attribute ofpublic static DOMAttr getCatalogEntryCatalog(DOMElement element)
element
- The catalog entry to get the catalog attribute ofCopyright © 2020. All rights reserved.