org.qedeq.kernel.xml.handler.parser
Class LoadXmlOperatorListUtility

java.lang.Object
  extended by org.qedeq.kernel.xml.handler.parser.LoadXmlOperatorListUtility
All Implemented Interfaces:
ModuleService, Service

public final class LoadXmlOperatorListUtility
extends java.lang.Object
implements ModuleService

Load operator list from an XML file.

Author:
Michael Meyling

Method Summary
static java.util.List getOperatorList(InternalKernelServices services, java.io.File from)
          Get operator list out of XML file.
 java.lang.String getServiceAction()
          Get service action name.
 java.lang.String getServiceDescription()
          Get service description.
 java.lang.String getServiceId()
          Get service id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getOperatorList

public static java.util.List getOperatorList(InternalKernelServices services,
                                             java.io.File from)
                                      throws SourceFileExceptionList
Get operator list out of XML file.

Parameters:
services - Kernel services. TODO m31 20100830: is this really necessary?
from - Read this XML file.
Returns:
Operator list.
Throws:
SourceFileExceptionList - Loading failed.

getServiceId

public java.lang.String getServiceId()
Description copied from interface: Service
Get service id.

Specified by:
getServiceId in interface Service
Returns:
Service id.

getServiceAction

public java.lang.String getServiceAction()
Description copied from interface: Service
Get service action name. This is what the service does.

Specified by:
getServiceAction in interface Service
Returns:
Service action name.

getServiceDescription

public java.lang.String getServiceDescription()
Description copied from interface: Service
Get service description.

Specified by:
getServiceDescription in interface Service
Returns:
Description of service.


Copyright © 2014. All Rights Reserved.