|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.ws.lib.MappingFileManager
public class MappingFileManager
this Class is used to manipulate jaxrpc-mapping-file. This file contains informations for mapping between XML namespaces and java packages. We actually support just a few part of this file. According with JSR 921, this file must contain class mapping information (exceptions/faults, types/classes, portTypes/interfaces ...).
Method Summary | |
---|---|
static MappingFile |
getInstance(File module,
String filename)
Returns an instance of jaxrpc-mapping-file |
static MappingFile |
getInstance(InputStream is,
String filename)
Returns an instance of jaxrpc-mapping-file |
static MappingFile |
getInstance(Reader r,
String filename,
boolean validate)
Returns an instance of jaxrpc-mapping-file |
static boolean |
isParsingWithValidation()
|
static void |
setParsingWithValidation(boolean parsingWithValidation)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MappingFile getInstance(File module, String filename) throws WSDeploymentDescException
module
- module File containing mappingfilename
- jaxrpc-mapping-file filename
WSDeploymentDescException
- when MappingFile cannot be loader or instanciatedpublic static MappingFile getInstance(Reader r, String filename, boolean validate) throws WSDeploymentDescException
r
- mapping file readerfilename
- mapping filenamevalidate
- validate flag
WSDeploymentDescException
- when MappingFile cannot be loader or instanciatedpublic static MappingFile getInstance(InputStream is, String filename) throws WSDeploymentDescException
is
- jaxrpc-mapping-file InputStreamfilename
- jaxrpc-mapping-file filename
WSDeploymentDescException
- when MappingFile cannot be loader or instanciatedpublic static boolean isParsingWithValidation()
public static void setParsingWithValidation(boolean parsingWithValidation)
parsingWithValidation
- The parsingWithValidation to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |