org.apache.xerces.impl.xs
Class XSComplexTypeDecl

java.lang.Object
  |
  +--org.apache.xerces.impl.xs.XSComplexTypeDecl
All Implemented Interfaces:
XSTypeDecl

public class XSComplexTypeDecl
extends java.lang.Object
implements XSTypeDecl

The XML representation for a complexType schema component is a element information item

Version:
$Id: XSComplexTypeDecl.java,v 1.4 2002/01/29 01:15:14 lehors Exp $
Author:
Elena Litani, IBM, Sandy Gao, IBM

Field Summary
static short CONTENTTYPE_ELEMENT
           
static short CONTENTTYPE_EMPTY
           
static short CONTENTTYPE_MIXED
           
static short CONTENTTYPE_SIMPLE
           
 
Fields inherited from interface org.apache.xerces.impl.xs.XSTypeDecl
COMPLEX_TYPE, SIMPLE_TYPE
 
Constructor Summary
XSComplexTypeDecl()
           
XSComplexTypeDecl(java.lang.String name, java.lang.String targetNamespace, XSTypeDecl baseType, short derivedBy, short finalSet, short block, boolean isAbstract, boolean isAnonymous, XSAttributeGroupDecl attrGrp, short contentType, XSSimpleType simpleType, XSParticleDecl particle)
           
 
Method Summary
 boolean containsTypeID()
           
 XSAttributeGroupDecl getAttrGrp()
           
 XSTypeDecl getBaseType()
           
 short getContentType()
           
 short getDerivedBy()
           
 short getFinalSet()
           
 XSParticleDecl getParticle()
           
 java.lang.String getTargetNamespace()
           
 java.lang.String getTypeName()
           
 XSSimpleType getXSSimpleType()
           
 short getXSType()
           
 boolean isAbstractType()
           
 boolean isAnonymous()
           
 void setContainsTypeID()
           
 void setIsAbstractType()
           
 void setIsAnonymous()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONTENTTYPE_EMPTY

public static final short CONTENTTYPE_EMPTY

CONTENTTYPE_SIMPLE

public static final short CONTENTTYPE_SIMPLE

CONTENTTYPE_MIXED

public static final short CONTENTTYPE_MIXED

CONTENTTYPE_ELEMENT

public static final short CONTENTTYPE_ELEMENT
Constructor Detail

XSComplexTypeDecl

public XSComplexTypeDecl()

XSComplexTypeDecl

public XSComplexTypeDecl(java.lang.String name,
                         java.lang.String targetNamespace,
                         XSTypeDecl baseType,
                         short derivedBy,
                         short finalSet,
                         short block,
                         boolean isAbstract,
                         boolean isAnonymous,
                         XSAttributeGroupDecl attrGrp,
                         short contentType,
                         XSSimpleType simpleType,
                         XSParticleDecl particle)
Method Detail

getXSType

public short getXSType()
Specified by:
getXSType in interface XSTypeDecl

getTypeName

public java.lang.String getTypeName()
Specified by:
getTypeName in interface XSTypeDecl

getFinalSet

public short getFinalSet()
Specified by:
getFinalSet in interface XSTypeDecl

getDerivedBy

public short getDerivedBy()

getTargetNamespace

public java.lang.String getTargetNamespace()
Specified by:
getTargetNamespace in interface XSTypeDecl

getBaseType

public XSTypeDecl getBaseType()
Specified by:
getBaseType in interface XSTypeDecl

isAbstractType

public boolean isAbstractType()

containsTypeID

public boolean containsTypeID()

isAnonymous

public boolean isAnonymous()
Specified by:
isAnonymous in interface XSTypeDecl

setIsAbstractType

public void setIsAbstractType()

setContainsTypeID

public void setContainsTypeID()

setIsAnonymous

public void setIsAnonymous()

getAttrGrp

public XSAttributeGroupDecl getAttrGrp()

getXSSimpleType

public XSSimpleType getXSSimpleType()

getParticle

public XSParticleDecl getParticle()

getContentType

public short getContentType()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1999-2002 Apache XML Project. All Rights Reserved.