org.apache.ws.jaxme.js.beanreader

Class BeanInfoFactory


public class BeanInfoFactory
extends java.lang.Object

A BeanInfoFactory is reading and analyzing a given bean class. It provides the information required by the BeanSchemaWriter.

Constructor Summary

BeanInfoFactory(JavaSourceResolver pClassLoader, JavaQName pQName)
Creates a new instance.

Method Summary

BeanInfo
getBeanInfo(JavaQName pType)
Returns the bean info for the given type.
String
getTargetNamespace()
Returns the factories target namespace.
boolean
isSimpleType(JavaQName pType)
Returns, whether the given Java type can be mapped to an atomic type.
void
setTargetNamespace(String pTargetNamespace)
Sets the factories target namespace.

Constructor Details

BeanInfoFactory

public BeanInfoFactory(JavaSourceResolver pClassLoader,
                       JavaQName pQName)
            throws BeanReaderException
Creates a new instance.

Method Details

getBeanInfo

public BeanInfo getBeanInfo(JavaQName pType)
Returns the bean info for the given type.

getTargetNamespace

public String getTargetNamespace()
Returns the factories target namespace.

isSimpleType

public boolean isSimpleType(JavaQName pType)
Returns, whether the given Java type can be mapped to an atomic type.

setTargetNamespace

public void setTargetNamespace(String pTargetNamespace)
Sets the factories target namespace.