|
Novell exteNd Web Services SDK API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The TypeMappingRegistry
class is the Novell exteNd Web Services
SDK version of the standard TypeMappingRegistry
interface, which
supports additional utility methods for importing type mappings.
Method Summary | |
void |
importTypeMappings(InputStream is,
ClassLoader loader)
Import type mappings from an input stream into this registry |
void |
importTypeMappings(Properties mappings)
Import type mappings from a property object |
void |
importTypeMappings(Properties mappings,
ClassLoader loader)
Import the mappings from the given properties. |
void |
importTypeMappings(String resourceName)
Import type mappings from a resource into this registry |
void |
importTypeMappings(String resourceName,
ClassLoader loader)
Import type mappings from a resource into this registry |
void |
importTypeMappings(String propResource,
Servlet servlet)
Import type mappings from property resource in servlet |
void |
importTypeMappings(String propResource,
Servlet servlet,
ClassLoader loader)
Import type mappings from property resource in servlet |
void |
importTypeMappingsFromFile(String fileName)
Import type mappings from a file into this registry |
void |
importTypeMappingsFromFile(String fileName,
ClassLoader loader)
Import type mappings from a file into this registry |
Methods inherited from interface javax.xml.rpc.encoding.TypeMappingRegistry |
clear, createTypeMapping, getDefaultTypeMapping, getRegisteredEncodingStyleURIs, getTypeMapping, register, registerDefault, removeTypeMapping, unregisterTypeMapping |
Method Detail |
public void importTypeMappings(String resourceName) throws TypeMappingException, IOException
resourceName
- the resource name with type mapping entries
TypeMappingException
- if import failed
IOException
- if resource could not be readpublic void importTypeMappings(String resourceName, ClassLoader loader) throws TypeMappingException, IOException
resourceName
- the resource name with type mapping entriesloader
- class loader to load mapping classes
TypeMappingException
- if import failed
IOException
- if resource could not be readpublic void importTypeMappingsFromFile(String fileName) throws TypeMappingException, IOException
fileName
- name of the file with type mapping entries
TypeMappingException
- if import failed
IOException
- if file could not be readpublic void importTypeMappingsFromFile(String fileName, ClassLoader loader) throws TypeMappingException, IOException
fileName
- name of the file with type mapping entriesloader
- class loader to load mapping classes
TypeMappingException
- if import failed
IOException
- if file could not be readpublic void importTypeMappings(InputStream is, ClassLoader loader) throws IOException, TypeMappingException
loader
- class loader to load mapping classes
TypeMappingException
- if import failed
IOException
- if stream could not be readpublic void importTypeMappings(String propResource, Servlet servlet) throws TypeMappingException, ServletException, IOException
propResource
- name of the resource with type mapping entriesservlet
- the servlet object
TypeMappingException
- if import failed
ServletException
- if servlet context could not be retrieved
IOException
- if stream could not be readpublic void importTypeMappings(String propResource, Servlet servlet, ClassLoader loader) throws TypeMappingException, ServletException, IOException
propResource
- name of the resource with type mapping entriesservlet
- the servlet objectloader
- class loader to load mapping classes
TypeMappingException
- if import failed
ServletException
- if servlet context could not be retrieved
IOException
- if stream could not be readpublic void importTypeMappings(Properties mappings) throws TypeMappingException
mappings
- property set with mappings
TypeMappingException
- if import failedpublic void importTypeMappings(Properties mappings, ClassLoader loader) throws TypeMappingException
<java Type> <Serializer> <Deserializer> <URI> <LN> <location>For example,
mapping1=Address AddressMarshaler AddressMarshaler urn:DemoApp Address http://schemas.acme.org/addressThe java classes are loaded from the given class loader.
mappings
- property set with mappingsloader
- class loader to load mapping classes
TypeMappingException
- if import failed
|
Novell exteNd Web Services SDK API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |