|
UTF-X, Unit Testing Framework - Xslt | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object utfx.framework.SourceParserFactory
public class SourceParserFactory
This class uses reflection to load a Source Parser class.
Copyright © 2004 - University of Southern Queensland.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License v2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
$Source: /cvs/utf-x/framework/src/java/utfx/framework/SourceParserFactory.java,v $
Field Summary | |
---|---|
private java.lang.String |
className
|
private org.apache.log4j.Logger |
log
LOG4J logging facility |
private java.lang.Object[] |
parameters
|
private java.lang.Class[] |
parameterTypes
|
private javax.xml.xpath.XPath |
xpath
XPath |
private javax.xml.xpath.XPathFactory |
xpf
XPath factory |
Constructor Summary | |
---|---|
SourceParserFactory()
|
Method Summary | |
---|---|
SourceParser |
getSourceParser(org.w3c.dom.Element elem)
|
private java.lang.Object |
load()
Load a source builder class. |
private void |
parse(org.w3c.dom.Element elem)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.Object[] parameters
private java.lang.Class[] parameterTypes
private org.apache.log4j.Logger log
private java.lang.String className
private javax.xml.xpath.XPathFactory xpf
private javax.xml.xpath.XPath xpath
Constructor Detail |
---|
public SourceParserFactory()
Method Detail |
---|
private java.lang.Object load() throws java.lang.ClassNotFoundException, java.lang.SecurityException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
node
-
java.lang.NoSuchMethodException
java.lang.SecurityException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public SourceParser getSourceParser(org.w3c.dom.Element elem) throws java.lang.ClassNotFoundException, java.lang.NoSuchMethodException, java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.InstantiationException, java.lang.IllegalAccessException, javax.xml.xpath.XPathExpressionException
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException
javax.xml.xpath.XPathExpressionException
private void parse(org.w3c.dom.Element elem) throws java.lang.ClassNotFoundException, java.lang.NoSuchMethodException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, javax.xml.xpath.XPathExpressionException
elem
-
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
javax.xml.xpath.XPathExpressionException
|
UTF-X, Unit Testing Framework - Xslt | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |