org.apache.ws.commons.schema
Class XmlSchemaComplexType

java.lang.Object
  extended by org.apache.ws.commons.schema.XmlSchemaObject
      extended by org.apache.ws.commons.schema.XmlSchemaAnnotated
          extended by org.apache.ws.commons.schema.XmlSchemaType
              extended by org.apache.ws.commons.schema.XmlSchemaComplexType
All Implemented Interfaces:
XmlSchemaNamed, XmlSchemaObjectBase

public class XmlSchemaComplexType
extends XmlSchemaType

Class for complex types. Defines a complex type that determines the set of attributes and content of an element. Represents the World Wide Web Consortium (W3C) complexType element.


Constructor Summary
XmlSchemaComplexType(XmlSchema schema, boolean topLevel)
          Creates new XmlSchemaComplexType
 
Method Summary
 XmlSchemaAnyAttribute getAnyAttribute()
           
 List<XmlSchemaAttributeOrGroupRef> getAttributes()
           
 XmlSchemaAnyAttribute getAttributeWildcard()
           
 QName getBaseSchemaTypeName()
          Return the QName of the base schema type, if any, as defined in the content model.
 XmlSchemaDerivationMethod getBlock()
           
 XmlSchemaDerivationMethod getBlockResolved()
           
 XmlSchemaContentModel getContentModel()
           
 XmlSchemaContentType getContentType()
           
 XmlSchemaParticle getContentTypeParticle()
           
 XmlSchemaParticle getParticle()
           
 boolean isAbstract()
           
 boolean isMixed()
           
 void setAbstract(boolean b)
           
 void setAnyAttribute(XmlSchemaAnyAttribute anyAttribute)
           
 void setBlock(XmlSchemaDerivationMethod block)
           
 void setContentModel(XmlSchemaContentModel contentModel)
           
 void setContentType(XmlSchemaContentType contentType)
           
 void setMixed(boolean b)
           
 void setParticle(XmlSchemaParticle particle)
           
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaType
equals, getDeriveBy, getFinal, getFinalDerivation, getFinalResolved, getName, getParent, getQName, hashCode, isAnonymous, isTopLevel, setDeriveBy, setFinal, setFinalDerivation, setName, toString
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaAnnotated
getAnnotation, getId, getUnhandledAttributes, setAnnotation, setId, setUnhandledAttributes
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaObject
addMetaInfo, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlSchemaComplexType

public XmlSchemaComplexType(XmlSchema schema,
                            boolean topLevel)
Creates new XmlSchemaComplexType

Method Detail

getAnyAttribute

public XmlSchemaAnyAttribute getAnyAttribute()

setAnyAttribute

public void setAnyAttribute(XmlSchemaAnyAttribute anyAttribute)

getAttributes

public List<XmlSchemaAttributeOrGroupRef> getAttributes()

getAttributeWildcard

public XmlSchemaAnyAttribute getAttributeWildcard()

getBlock

public XmlSchemaDerivationMethod getBlock()

setBlock

public void setBlock(XmlSchemaDerivationMethod block)

getBlockResolved

public XmlSchemaDerivationMethod getBlockResolved()

getContentModel

public XmlSchemaContentModel getContentModel()

setContentModel

public void setContentModel(XmlSchemaContentModel contentModel)

getContentType

public XmlSchemaContentType getContentType()

setContentType

public void setContentType(XmlSchemaContentType contentType)

getContentTypeParticle

public XmlSchemaParticle getContentTypeParticle()

isAbstract

public boolean isAbstract()

setAbstract

public void setAbstract(boolean b)

isMixed

public boolean isMixed()
Overrides:
isMixed in class XmlSchemaType

setMixed

public void setMixed(boolean b)
Overrides:
setMixed in class XmlSchemaType

getParticle

public XmlSchemaParticle getParticle()

setParticle

public void setParticle(XmlSchemaParticle particle)

getBaseSchemaTypeName

public QName getBaseSchemaTypeName()
Return the QName of the base schema type, if any, as defined in the content model.



Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.