org.apache.ws.jaxme.js.beanreader
Class BeanInfoFactory

java.lang.Object
  extended by org.apache.ws.jaxme.js.beanreader.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.
 java.lang.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(java.lang.String pTargetNamespace)
          Sets the factories target namespace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanInfoFactory

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

Throws:
BeanReaderException
Method Detail

isSimpleType

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


getBeanInfo

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


getTargetNamespace

public java.lang.String getTargetNamespace()
Returns the factories target namespace.


setTargetNamespace

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