public class TaurusSystemLoader
extends org.xml.sax.ext.DefaultHandler2
| Constructor and Description |
|---|
TaurusSystemLoader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
didErrorsOccur()
Gets whether errors occurred during the last parser run.
|
void |
endElement(java.lang.String pUri,
java.lang.String pLocalName,
java.lang.String pQName) |
static ISystemImage |
findImageWithWait(java.lang.String sysName,
java.lang.String remoteSystemName,
int pWaitTimeSeconds)
Finds the given remote system name and waits for the given amount of
seconds if the connection cannot be found.
|
java.util.Map<java.lang.String,java.lang.Boolean> |
getExpandMap()
Deprecated.
do not use. Might get overhauled in the future.
|
void |
startDocument() |
void |
startElement(java.lang.String pUri,
java.lang.String pLocalName,
java.lang.String pTagName,
org.xml.sax.Attributes pAttr) |
attributeDecl, comment, elementDecl, endCDATA, endDTD, endEntity, externalEntityDecl, getExternalSubset, internalEntityDecl, resolveEntity, resolveEntity, startCDATA, startDTD, startEntitypublic void startDocument()
throws org.xml.sax.SAXException
startDocument in interface org.xml.sax.ContentHandlerstartDocument in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionpublic 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 endElement(java.lang.String pUri,
java.lang.String pLocalName,
java.lang.String pQName)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionpublic static ISystemImage findImageWithWait(java.lang.String sysName, java.lang.String remoteSystemName, int pWaitTimeSeconds) throws TaurusCoreException, java.lang.InterruptedException
sysName - the name of the AWM system to which the remote system belongs
toremoteSystemName - the name of the desired remote system connectionpWaitTimeSeconds - the time in seconds how long the method should waitISystemImage to the remote system nameTaurusCoreException - if the image cannot be foundjava.lang.InterruptedException - if waiting gets interrupted@Deprecated public java.util.Map<java.lang.String,java.lang.Boolean> getExpandMap()
public boolean didErrorsOccur()
true is returned, errors were most likely logged.Copyright © 2015 Micro Focus GmbH. All rights reserved.