org.jomc.modlet.test.support
Class InvocationTargetExceptionModelContext
java.lang.Object
org.jomc.modlet.ModelContext
org.jomc.modlet.test.support.InvocationTargetExceptionModelContext
public final class InvocationTargetExceptionModelContext
- extends ModelContext
ModelContext
implementation throwing an exception on initialization.
- Version:
- $JOMC: InvocationTargetExceptionModelContext.java 4256 2012-02-13 06:32:10Z schulte2005 $
- Author:
- Christian Schulte 1.0
Methods inherited from class org.jomc.modlet.ModelContext |
clearAttribute, createModelContext, findClass, findResource, findResources, getAttribute, getAttribute, getAttributeNames, getClassLoader, getDefaultLogLevel, getDefaultModletSchemaSystemId, getListeners, getLogLevel, getModelContextClassName, getModlets, getModletSchemaSystemId, isLoggable, log, setAttribute, setDefaultLogLevel, setDefaultModletSchemaSystemId, setLogLevel, setModelContextClassName, setModlets, setModletSchemaSystemId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvocationTargetExceptionModelContext
public InvocationTargetExceptionModelContext()
InvocationTargetExceptionModelContext
public InvocationTargetExceptionModelContext(ClassLoader classLoader)
findModlets
public Modlets findModlets()
throws ModelException
- Specified by:
findModlets
in class ModelContext
- Throws:
ModelException
findModel
public Model findModel(String model)
throws ModelException
- Specified by:
findModel
in class ModelContext
- Throws:
ModelException
findModel
public Model findModel(Model model)
throws ModelException
- Specified by:
findModel
in class ModelContext
- Throws:
ModelException
createEntityResolver
public EntityResolver createEntityResolver(String model)
throws ModelException
- Specified by:
createEntityResolver
in class ModelContext
- Throws:
ModelException
createResourceResolver
public LSResourceResolver createResourceResolver(String model)
throws ModelException
- Specified by:
createResourceResolver
in class ModelContext
- Throws:
ModelException
createSchema
public Schema createSchema(String model)
throws ModelException
- Specified by:
createSchema
in class ModelContext
- Throws:
ModelException
createContext
public javax.xml.bind.JAXBContext createContext(String model)
throws ModelException
- Specified by:
createContext
in class ModelContext
- Throws:
ModelException
createMarshaller
public javax.xml.bind.Marshaller createMarshaller(String model)
throws ModelException
- Specified by:
createMarshaller
in class ModelContext
- Throws:
ModelException
createUnmarshaller
public javax.xml.bind.Unmarshaller createUnmarshaller(String model)
throws ModelException
- Specified by:
createUnmarshaller
in class ModelContext
- Throws:
ModelException
processModel
public Model processModel(Model model)
throws ModelException
- Specified by:
processModel
in class ModelContext
- Throws:
ModelException
validateModel
public ModelValidationReport validateModel(Model model)
throws ModelException
- Specified by:
validateModel
in class ModelContext
- Throws:
ModelException
validateModel
public ModelValidationReport validateModel(String model,
Source source)
throws ModelException
- Specified by:
validateModel
in class ModelContext
- Throws:
ModelException
createServiceObject
public <T> T createServiceObject(Service service,
Class<T> type)
throws ModelException
- Specified by:
createServiceObject
in class ModelContext
- Throws:
ModelException
createEntityResolver
public EntityResolver createEntityResolver(URI publicId)
throws ModelException
- Specified by:
createEntityResolver
in class ModelContext
- Throws:
ModelException
createResourceResolver
public LSResourceResolver createResourceResolver(URI publicId)
throws ModelException
- Specified by:
createResourceResolver
in class ModelContext
- Throws:
ModelException
createSchema
public Schema createSchema(URI publicId)
throws ModelException
- Specified by:
createSchema
in class ModelContext
- Throws:
ModelException
createContext
public javax.xml.bind.JAXBContext createContext(URI publicId)
throws ModelException
- Specified by:
createContext
in class ModelContext
- Throws:
ModelException
createMarshaller
public javax.xml.bind.Marshaller createMarshaller(URI publicId)
throws ModelException
- Specified by:
createMarshaller
in class ModelContext
- Throws:
ModelException
createUnmarshaller
public javax.xml.bind.Unmarshaller createUnmarshaller(URI publicId)
throws ModelException
- Specified by:
createUnmarshaller
in class ModelContext
- Throws:
ModelException
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.