com.sage.orion.sdata.servlet.accpac
Class ServiceMapFileXMLParser

java.lang.Object
  extended by com.sage.orion.sdata.servlet.JiBXParser
      extended by com.sage.orion.sdata.servlet.accpac.ServiceMapFileXMLParser

public class ServiceMapFileXMLParser
extends JiBXParser

A helper class to parse the serviceMap xml file to to ServerMap java object.

Author:
cliwa01

Constructor Summary
ServiceMapFileXMLParser()
           
 
Method Summary
static ServiceMap parse(java.io.File file)
          Parses the given xml file and returns the corresponding ServerMap object.
static ServiceMap parse(java.lang.String filename)
          Parses the given xml file and returns the corresponding ServerMap object.
 
Methods inherited from class com.sage.orion.sdata.servlet.JiBXParser
parse, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceMapFileXMLParser

public ServiceMapFileXMLParser()
Method Detail

parse

public static ServiceMap parse(java.lang.String filename)
Parses the given xml file and returns the corresponding ServerMap object.

Parameters:
filename - the file to be parsed.
Returns:
a ServiceMap representing the information in the file

parse

public static ServiceMap parse(java.io.File file)
Parses the given xml file and returns the corresponding ServerMap object.

Parameters:
file - the file to be parsed.
Returns:
a ServiceMap representing the information in the file


Copyright © 2011 Sage Software, Inc. All rights reserved.