org.apache.ws.commons.schema
Class XmlSchemaComplexContentRestriction

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.XmlSchemaContent
              extended by org.apache.ws.commons.schema.XmlSchemaComplexContentRestriction

public class XmlSchemaComplexContentRestriction
extends XmlSchemaContent

Class for complex types with a complex content model that are derived by restriction. Restricts the contents of the complex type to a subset of the inherited complex type. Represents the World Wide Web Consortium (W3C) restriction element for complex content.


Field Summary
 
Fields inherited from class org.apache.ws.commons.schema.XmlSchemaAnnotated
unhandledAttributes
 
Constructor Summary
XmlSchemaComplexContentRestriction()
          Creates new XmlSchemaComplexContentRestriction
 
Method Summary
 XmlSchemaAnyAttribute getAnyAttribute()
           
 XmlSchemaObjectCollection getAttributes()
           
 javax.xml.namespace.QName getBaseTypeName()
           
 XmlSchemaParticle getParticle()
           
 void setAnyAttribute(XmlSchemaAnyAttribute anyAttribute)
           
 void setBaseTypeName(javax.xml.namespace.QName baseTypeName)
           
 void setParticle(XmlSchemaParticle particle)
           
 String toString(String prefix, int tab)
           
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaAnnotated
getAnnotation, getId, getUnhandledAttributes, setAnnotation, setId, setUnhandledAttributes, toString
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaObject
addMetaInfo, equals, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlSchemaComplexContentRestriction

public XmlSchemaComplexContentRestriction()
Creates new XmlSchemaComplexContentRestriction

Method Detail

setAnyAttribute

public void setAnyAttribute(XmlSchemaAnyAttribute anyAttribute)

getAnyAttribute

public XmlSchemaAnyAttribute getAnyAttribute()

getAttributes

public XmlSchemaObjectCollection getAttributes()

setBaseTypeName

public void setBaseTypeName(javax.xml.namespace.QName baseTypeName)

getBaseTypeName

public javax.xml.namespace.QName getBaseTypeName()

getParticle

public XmlSchemaParticle getParticle()

setParticle

public void setParticle(XmlSchemaParticle particle)

toString

public String toString(String prefix,
                       int tab)
Overrides:
toString in class XmlSchemaObject


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