Package 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
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate XmlSchemaAnyAttributeprivate List<XmlSchemaAttributeOrGroupRef> private XmlSchemaAnyAttributeprivate XmlSchemaDerivationMethodprivate XmlSchemaDerivationMethodprivate XmlSchemaContentModelprivate XmlSchemaContentTypeprivate booleanprivate booleanprivate XmlSchemaParticleprivate XmlSchemaParticleFields inherited from class org.apache.ws.commons.schema.XmlSchemaObject
lineNumber, linePosition, sourceURI -
Constructor Summary
ConstructorsConstructorDescriptionXmlSchemaComplexType(XmlSchema schema, boolean topLevel) Creates new XmlSchemaComplexType -
Method Summary
Modifier and TypeMethodDescriptionReturn the QName of the base schema type, if any, as defined in the content model.getBlock()(package private) XmlSchemaParticlebooleanbooleanisMixed()voidsetAbstract(boolean b) voidsetAnyAttribute(XmlSchemaAnyAttribute anyAttribute) (package private) voidsetAttributes(List<XmlSchemaAttributeOrGroupRef> attributes) (package private) voidsetAttributeWildcard(XmlSchemaAnyAttribute attributeWildcard) void(package private) voidsetBlockResolved(XmlSchemaDerivationMethod blockResolved) voidsetContentModel(XmlSchemaContentModel contentModel) voidsetContentType(XmlSchemaContentType contentType) voidsetMixed(boolean b) voidsetParticle(XmlSchemaParticle particle) (package private) voidsetParticleType(XmlSchemaParticle particleType) Methods inherited from class org.apache.ws.commons.schema.XmlSchemaType
equals, getDeriveBy, getFinal, getFinalDerivation, getFinalResolved, getName, getParent, getQName, hashCode, isAnonymous, isTopLevel, setDeriveBy, setFinal, setFinalDerivation, setFinalResolved, setName, toStringMethods inherited from class org.apache.ws.commons.schema.XmlSchemaAnnotated
getAnnotation, getId, getUnhandledAttributes, setAnnotation, setId, setUnhandledAttributesMethods inherited from class org.apache.ws.commons.schema.XmlSchemaObject
addMetaInfo, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI
-
Field Details
-
anyAttribute
-
attributeWildcard
-
attributes
-
block
-
blockResolved
-
contentModel
-
contentType
-
particleType
-
particle
-
isAbstract
private boolean isAbstract -
isMixed
private boolean isMixed
-
-
Constructor Details
-
XmlSchemaComplexType
Creates new XmlSchemaComplexType
-
-
Method Details
-
getAnyAttribute
-
setAnyAttribute
-
getAttributes
-
getAttributeWildcard
-
getBlock
-
setBlock
-
getBlockResolved
-
getContentModel
-
setContentModel
-
getContentType
-
setContentType
-
getContentTypeParticle
-
isAbstract
public boolean isAbstract() -
setAbstract
public void setAbstract(boolean b) -
isMixed
public boolean isMixed()- Overrides:
isMixedin classXmlSchemaType
-
setMixed
public void setMixed(boolean b) - Overrides:
setMixedin classXmlSchemaType
-
getParticle
-
setParticle
-
getBaseSchemaTypeName
Return the QName of the base schema type, if any, as defined in the content model. -
setAttributeWildcard
-
setAttributes
-
setBlockResolved
-
setParticleType
-
getParticleType
XmlSchemaParticle getParticleType()
-