public class ElementListLoader
extends org.xml.sax.helpers.DefaultHandler
| Constructor and Description |
|---|
ElementListLoader() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addFloatingListsToDirectory()
Adds element lists that could not be added during the cache was loaded
since dependent resources (namely element list entries) could not
resolved at that point.
This method must be called manually after all element lists have been parsed. |
static void |
createRelationships()
Sets the parent/child relationships of
IResources that have been
mapped in element list cache files. |
void |
endDocument() |
IElementList |
getElementList()
Gets the loaded element list.
|
void |
startElement(java.lang.String pUri,
java.lang.String pLocalName,
java.lang.String pTagName,
org.xml.sax.Attributes pAttr) |
public void startElement(java.lang.String pUri,
java.lang.String pLocalName,
java.lang.String pTagName,
org.xml.sax.Attributes pAttr)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionpublic void endDocument()
throws org.xml.sax.SAXException
endDocument in interface org.xml.sax.ContentHandlerendDocument in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionpublic static void createRelationships()
IResources that have been
mapped in element list cache files. public static void addFloatingListsToDirectory()
throws TaurusCoreException
TaurusCoreException - if adding a list to the directory failspublic IElementList getElementList()
Copyright © 2015 Micro Focus GmbH. All rights reserved.