org.exolab.castor.builder
Class MemberFactory

java.lang.Object
  extended by org.exolab.castor.builder.MemberFactory

public class MemberFactory
extends java.lang.Object

Version:
$Revision: 1.2 $ $Date: 2003/03/03 09:57:14 $
Author:
Keith Visco

Constructor Summary
MemberFactory()
          Creates a new MemberFactory with default type factory.
MemberFactory(FieldInfoFactory infoFactory)
          Creates a new MemberFactory using the given FieldInfo factory.
 
Method Summary
 FieldInfo createFieldInfo(XMLBindingComponent component, ClassInfoResolver resolver)
          Creates a FieldInfo object for the given XMLBindingComponent.
 FieldInfo createFieldInfoForAny(Wildcard any)
          Creates a FieldInfo for content models that support "any" element.
 FieldInfo createFieldInfoForContent(XSType xsType)
          Creates a FieldInfo for content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemberFactory

public MemberFactory()
Creates a new MemberFactory with default type factory.


MemberFactory

public MemberFactory(FieldInfoFactory infoFactory)
Creates a new MemberFactory using the given FieldInfo factory.

Parameters:
infoFactory - the FieldInfoFactory to use
Method Detail

createFieldInfoForAny

public FieldInfo createFieldInfoForAny(Wildcard any)
Creates a FieldInfo for content models that support "any" element.

Returns:
the new FieldInfo

createFieldInfoForContent

public FieldInfo createFieldInfoForContent(XSType xsType)
Creates a FieldInfo for content.

Parameters:
xsType - the type of content
Returns:
the new FieldInfo

createFieldInfo

public FieldInfo createFieldInfo(XMLBindingComponent component,
                                 ClassInfoResolver resolver)
Creates a FieldInfo object for the given XMLBindingComponent.

Parameters:
component - the XMLBindingComponent to create the FieldInfo for
Returns:
the FieldInfo for the given attribute declaration


Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com