oracle.xml.parser.schema
Class XSDComplexType

oracle.xml.parser.schema.XSDNode
  |
  +--oracle.xml.parser.schema.XSDComplexType

public class XSDComplexType
extends XSDNode

XSDComplexType - represents <xsd:complexType>


Method Summary
XSDAttribute[] getAttributeDeclarations()
get attribute declarations of this complex type does not include wild card array of attribute declarations
XSDNode[] getAttributeSet()
Deprecated. - use getAttributeDeclarations and getAttributeWildcard
oracle.xml.parser.schema.XSDAny getAttributeWildcard()
get attribute wildcard of this complex type
XSDNode[] getBaseAttributeSet()
Deprecated. - use get baseType
XSDNode[] getBaseElementSet()
Get all the local elements of the base Type of this complexType element
XSDNode getBaseType()
Get the base type of this complextype
int getContent()
short getDerivationMethod()
How was this type derived from its parent type?
java.lang.String getDerivedMethod()
Get derivation method
XSDNode[] getElementSet()
Get all the local elements inside a complexType element If the complexType element extends another complexType element
XSDGroup getGroup()
Get the attribute group or the child & attribute group
java.lang.String getRefLocalname()
Get the local name of resolved 'base' attr
XSDGroup getTypeGroup()
static void init()
boolean isAbstract()

Methods inherited from class oracle.xml.parser.schema.XSDNode
getAnnotation, getName, getNamespaceURI, getNodeType, getTargetNS, isNodeType

Method Detail

init

public static void init()
                 throws XSDException

getGroup

public XSDGroup getGroup()
Get the attribute group or the child & attribute group
Returns:
group

getTypeGroup

public XSDGroup getTypeGroup()

isAbstract

public boolean isAbstract()

getBaseType

public XSDNode getBaseType()
Get the base type of this complextype
Returns:
XSDNode - base type

getRefLocalname

public java.lang.String getRefLocalname()
Get the local name of resolved 'base' attr
Returns:
refLocalname

getContent

public int getContent()

getElementSet

public XSDNode[] getElementSet()
Get all the local elements inside a complexType element If the complexType element extends another complexType element
Returns:
an array of local elements

getBaseElementSet

public XSDNode[] getBaseElementSet()
Get all the local elements of the base Type of this complexType element
Returns:
an array of local elements

getAttributeSet

public XSDNode[] getAttributeSet()
Deprecated. - use getAttributeDeclarations and getAttributeWildcard
Get all the attributes of the complexType elements
Returns:
an array of local attributes

getAttributeDeclarations

public XSDAttribute[] getAttributeDeclarations()
get attribute declarations of this complex type does not include wild card array of attribute declarations

getAttributeWildcard

public oracle.xml.parser.schema.XSDAny getAttributeWildcard()
get attribute wildcard of this complex type
Returns:
the attribute wildcard if has one

getBaseAttributeSet

public XSDNode[] getBaseAttributeSet()
Deprecated. - use get baseType
Get all the attributes of the base Type of this complexType element
Returns:
an array of attribute XSDNodes

getDerivationMethod

public short getDerivationMethod()
How was this type derived from its parent type?
Returns:
A code number indicating the kind of derivation used to construct this type. One of EXTENSION_DERIVATION and RESTRICTION_DERIVATION.

getDerivedMethod

public java.lang.String getDerivedMethod()
Get derivation method
Returns:
derivedBy, either extension or restriction


Copyright © 1997, 2004, Oracle. All rights reserved.