org.jibx.xsd2jibx
Class XsdComplexType
java.lang.Object
org.jibx.xsd2jibx.XsdStructure
org.jibx.xsd2jibx.XsdComplexType
public class XsdComplexType
- extends XsdStructure
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 |
XsdComplexType
public XsdComplexType(XsdComplexType original)
- Creates a copy/clone.
XsdComplexType
public XsdComplexType()
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()