com.bankframe.fe.statemachine.ext.apploaders.sax
Class AppLoader
java.lang.Object
com.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.
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 |
AppLoader
public AppLoader()
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.