org.apache.ws.commons.schema
Class XmlSchemaComplexType
java.lang.Object
org.apache.ws.commons.schema.XmlSchemaObject
org.apache.ws.commons.schema.XmlSchemaAnnotated
org.apache.ws.commons.schema.XmlSchemaType
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.
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 |
XmlSchemaComplexType
public XmlSchemaComplexType(XmlSchema schema,
boolean topLevel)
- Creates new XmlSchemaComplexType
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.