|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.spi.loader.LoaderUtil
public final class LoaderUtil
Utility functions to support loader implementations.
Method Summary | |
---|---|
static Class<?> |
loadClass(String name,
ClassLoader cl)
Load the class using the supplied ClassLoader. |
static void |
skipToEndElement(javax.xml.stream.XMLStreamReader reader)
Advance the stream to the next END_ELEMENT event skipping any nested content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void skipToEndElement(javax.xml.stream.XMLStreamReader reader) throws javax.xml.stream.XMLStreamException
reader
- the reader to advance
javax.xml.stream.XMLStreamException
- if there was a problem reading the streampublic static Class<?> loadClass(String name, ClassLoader cl) throws MissingResourceException
name
- the name of the class to loadcl
- the classloader to use to load it
MissingResourceException
- if the class could not be found
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |