org.jibx.xsd2jibx
Class XsdComplexType

java.lang.Object
  extended by org.jibx.xsd2jibx.XsdStructure
      extended by org.jibx.xsd2jibx.XsdComplexType

public class XsdComplexType
extends XsdStructure


Field Summary
 
Fields inherited from class org.jibx.xsd2jibx.XsdStructure
name, parentComplexType, schema
 
Constructor Summary
XsdComplexType()
           
XsdComplexType(XsdComplexType original)
          Creates a copy/clone.
 
Method Summary
 void addAnonymousComplexType(XsdElement element)
           
 void addChild(XsdComplexType child)
           
 java.lang.Object clone()
           
 XsdComplexType copy()
           
 XsdComplexType getChild(int i)
           
 XsdType getComplexContentBase()
           
 java.lang.String getFullName()
          includes parent complexType if present separated by a dash
 org.jibx.xsd2jibx.JibxMapping getMapping()
           
 int getNextChoiceNum()
           
 JQName getQName()
           
 XsdType getSimpleContentBase()
           
 JSource getSource()
           
 XsdElement getWrappedElement()
           
 XsdType getXsdType()
           
 boolean hasComplexContentBase()
           
 boolean hasSimpleContentBase()
           
 void importBase(XsdComplexType base)
           
 void process()
          Creates a Java source file and a JibxMapping.
 void setGenerator(Generator generator)
           
 void setIsReferenced()
          Indicates that type is used externally and cannot be treated as list wrapper.
 void setMapping(org.jibx.xsd2jibx.JibxMapping mapping)
           
 void setPrefixWithParentName(boolean prefix)
          Indicates that getFullName() will be prefixed with the parent complex type name.
 void setSchema(XsdSchema schema)
           
 void setSource(JSource source)
           
 int sizeChildren()
           
 int sizeChoices()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jibx.xsd2jibx.XsdStructure
createXsdType, getGenerator, getName, getParentComplexType, getSchema, getTargetNamespace, getXsdType, isImportedFromBase, setImportedFromBase, setName, setParentComplexType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XsdComplexType

public XsdComplexType(XsdComplexType original)
Creates a copy/clone.


XsdComplexType

public XsdComplexType()
Method Detail

setPrefixWithParentName

public void setPrefixWithParentName(boolean prefix)
Indicates that getFullName() will be prefixed with the parent complex type name.


setIsReferenced

public void setIsReferenced()
Indicates that type is used externally and cannot be treated as list wrapper.


getFullName

public java.lang.String getFullName()
includes parent complexType if present separated by a dash


getXsdType

public XsdType getXsdType()

getQName

public JQName getQName()

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

copy

public XsdComplexType copy()

getNextChoiceNum

public int getNextChoiceNum()

hasComplexContentBase

public boolean hasComplexContentBase()

getComplexContentBase

public XsdType getComplexContentBase()

hasSimpleContentBase

public boolean hasSimpleContentBase()

getSimpleContentBase

public XsdType getSimpleContentBase()

getMapping

public org.jibx.xsd2jibx.JibxMapping getMapping()

setMapping

public void setMapping(org.jibx.xsd2jibx.JibxMapping mapping)

addChild

public void addChild(XsdComplexType child)

sizeChildren

public int sizeChildren()

getChild

public XsdComplexType getChild(int i)

toString

public java.lang.String toString()
Overrides:
toString in class XsdStructure

setSchema

public void setSchema(XsdSchema schema)
Overrides:
setSchema in class XsdStructure

setGenerator

public void setGenerator(Generator generator)
Overrides:
setGenerator in class XsdStructure

sizeChoices

public int sizeChoices()

getSource

public JSource getSource()

setSource

public void setSource(JSource source)

process

public void process()
Creates a Java source file and a JibxMapping.


addAnonymousComplexType

public void addAnonymousComplexType(XsdElement element)

importBase

public void importBase(XsdComplexType base)

getWrappedElement

public XsdElement getWrappedElement()