org.apache.ws.jaxme.js.beanreader

Class BeanInfoFactory

public class BeanInfoFactory extends 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
BeanInfogetBeanInfo(JavaQName pType)
Returns the bean info for the given type.
StringgetTargetNamespace()
Returns the factories target namespace.
booleanisSimpleType(JavaQName pType)
Returns, whether the given Java type can be mapped to an atomic type.
voidsetTargetNamespace(String pTargetNamespace)
Sets the factories target namespace.

Constructor Detail

BeanInfoFactory

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

Method Detail

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.