com.bankframe.fe.statemachine.ext.apploaders.sax
Class AppLoader

java.lang.Object
  extended bycom.bankframe.fe.statemachine.ext.apploaders.sax.AppLoader

public class AppLoader
extends java.lang.Object

This class AppLoader parses an XML document in order to load an new Application.


Constructor Summary
AppLoader()
           
 
Method Summary
 Application load(java.net.URL url)
          This method will attempt to parse the xml document given using the parser org.apache.xerces.parsers.SAXParser.
 Application load(java.net.URL url, java.lang.String saxParser)
          Deprecated. load(URL, String) replaced by load(URL) because implementation of SAX parser is determined at runtime and need for explicit declaration of the SAX parser is redundant.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppLoader

public AppLoader()
Method Detail

load

public Application load(java.net.URL url)
                 throws java.io.IOException,
                        org.xml.sax.SAXException
This method will attempt to parse the xml document given using the parser org.apache.xerces.parsers.SAXParser.

Parameters:
url - java.lang.String the url of the xml file
Returns:
com.bankframe.fe.sm.saxapploader.Application
Throws:
java.io.IOException - if the parser cant aquire the xml file
org.xml.sax.SAXException - if errors are thrown during the parse

load

public Application load(java.net.URL url,
                        java.lang.String saxParser)
                 throws java.io.IOException,
                        org.xml.sax.SAXException
Deprecated. load(URL, String) replaced by load(URL) because implementation of SAX parser is determined at runtime and need for explicit declaration of the SAX parser is redundant.

This method will attempt to parse the xml document given using the parser passed in.

Parameters:
url -
Returns:
com.bankframe.fe.sm.saxapploader.Application
Throws:
java.io.IOException - if the parser cant aquire the xml file
org.xml.sax.SAXException - if errors are thrown during the parse


Copyright © 2005, 2007, Oracle. All rights reserved.