net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.lang.impl
Class ObjectFactory

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.lang.impl.ObjectFactory

public class ObjectFactory
extends Object

This object contains factory methods for each Java content interface and Java element interface generated in the net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.lang.impl package.

An ObjectFactory allows you to programatically construct new instances of the Java representation for XML content. The Java representation of XML content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in this class.


Constructor Summary
ObjectFactory()
          Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.lang.impl
 
Method Summary
protected static Object copyOfArray(Object array)
          Creates and returns a copy of a given array.
protected static Element copyOfDOMElement(Element element)
          Creates and returns a copy of a given DOM Element instance.
protected static javax.xml.bind.JAXBElement copyOFJAXBElement(javax.xml.bind.JAXBElement element)
          Creates and returns a copy of a given JAXBElement instance.
protected static Object copyOfObject(Object o)
          Creates and returns a copy of a given object.
protected static PropertyTypeImpl copyOfPropertyTypeImpl(PropertyTypeImpl clazz)
          Creates and returns a copy of a given net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.beans.impl.PropertyTypeImpl instance.
 javax.xml.bind.JAXBElement<DynamicScriptTypeImpl> createBsh(DynamicScriptTypeImpl value)
          Create an instance of JAXBElement<DynamicScriptTypeImpl>}
 CustomizableScriptTypeImpl createCustomizableScriptType()
          Create an instance of CustomizableScriptType
 DefaultsImpl createDefaults()
          Create an instance of Defaults
 DynamicScriptTypeImpl createDynamicScriptType()
          Create an instance of DynamicScriptType
 javax.xml.bind.JAXBElement<CustomizableScriptTypeImpl> createGroovy(CustomizableScriptTypeImpl value)
          Create an instance of JAXBElement<CustomizableScriptTypeImpl>}
 javax.xml.bind.JAXBElement<DynamicScriptTypeImpl> createJruby(DynamicScriptTypeImpl value)
          Create an instance of JAXBElement<DynamicScriptTypeImpl>}
 SimpleScriptTypeImpl createSimpleScriptType()
          Create an instance of SimpleScriptType
protected static boolean isImmutableObject(Object o)
          Tests a given object against a list of known immutable types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFactory

public ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.lang.impl

Method Detail

createDefaults

public DefaultsImpl createDefaults()
Create an instance of Defaults


createCustomizableScriptType

public CustomizableScriptTypeImpl createCustomizableScriptType()
Create an instance of CustomizableScriptType


createSimpleScriptType

public SimpleScriptTypeImpl createSimpleScriptType()
Create an instance of SimpleScriptType


createDynamicScriptType

public DynamicScriptTypeImpl createDynamicScriptType()
Create an instance of DynamicScriptType


createGroovy

public javax.xml.bind.JAXBElement<CustomizableScriptTypeImpl> createGroovy(CustomizableScriptTypeImpl value)
Create an instance of JAXBElement<CustomizableScriptTypeImpl>}


createJruby

public javax.xml.bind.JAXBElement<DynamicScriptTypeImpl> createJruby(DynamicScriptTypeImpl value)
Create an instance of JAXBElement<DynamicScriptTypeImpl>}


createBsh

public javax.xml.bind.JAXBElement<DynamicScriptTypeImpl> createBsh(DynamicScriptTypeImpl value)
Create an instance of JAXBElement<DynamicScriptTypeImpl>}


copyOfObject

protected static Object copyOfObject(Object o)
Creates and returns a copy of a given object.

Parameters:
o - The instance to copy or null.
Returns:
A copy of o or null if o is null.

copyOfArray

protected static Object copyOfArray(Object array)
Creates and returns a copy of a given array.

Parameters:
array - The array to copy or null.
Returns:
A copy of array or null if array is null.

isImmutableObject

protected static boolean isImmutableObject(Object o)
Tests a given object against a list of known immutable types.

Parameters:
o - The object to test.
Returns:
true if o is a known immutable type; false else.

copyOfDOMElement

protected static Element copyOfDOMElement(Element element)
Creates and returns a copy of a given DOM Element instance.

Parameters:
element - The instance to copy or null.
Returns:
A copy of element or null if element is null.

copyOFJAXBElement

protected static javax.xml.bind.JAXBElement copyOFJAXBElement(javax.xml.bind.JAXBElement element)
Creates and returns a copy of a given JAXBElement instance.

Parameters:
element - The instance to copy or null.
Returns:
A copy of element or null if element is null.

copyOfPropertyTypeImpl

protected static PropertyTypeImpl copyOfPropertyTypeImpl(PropertyTypeImpl clazz)
Creates and returns a copy of a given net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.beans.impl.PropertyTypeImpl instance.

Parameters:
clazz - The instance to copy or null.
Returns:
A copy of clazz or null if clazz is null.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.