net.sourceforge.ccxjc.it.model.prot.collections.valueclass.ccxjcit
Class ObjectFactory

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.collections.valueclass.ccxjcit.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.valueclass.ccxjcit 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.valueclass.ccxjcit
 
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 Duration copyOfDuration(Duration duration)
          Creates and returns a copy of a given Duration 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 QName copyOfQName(QName qName)
          Creates and returns a copy of a given QName instance.
protected static XMLGregorianCalendar copyOfXMLGregorianCalendar(XMLGregorianCalendar calendar)
          Creates and returns a copy of a given XMLGregorianCalendar instance.
 ChoiceComplexType createChoiceComplexType()
          Create an instance of ChoiceComplexType
 SimpleTypeAttributes createSimpleTypeAttributes()
          Create an instance of SimpleTypeAttributes
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.valueclass.ccxjcit

Method Detail

createChoiceComplexType

public ChoiceComplexType createChoiceComplexType()
Create an instance of ChoiceComplexType


createSimpleTypeAttributes

public SimpleTypeAttributes createSimpleTypeAttributes()
Create an instance of SimpleTypeAttributes


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.

copyOfDuration

protected static Duration copyOfDuration(Duration duration)
Creates and returns a copy of a given Duration instance.

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

copyOfXMLGregorianCalendar

protected static XMLGregorianCalendar copyOfXMLGregorianCalendar(XMLGregorianCalendar calendar)
Creates and returns a copy of a given XMLGregorianCalendar instance.

Parameters:
calendar - The instance to copy or null.
Returns:
A copy of calendar or null if calendar 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.

copyOfQName

protected static QName copyOfQName(QName qName)
Creates and returns a copy of a given QName instance.

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

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.

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.

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.


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