Public Member Functions

org.exolab.castor.xml.schema.SimpleContent Class Reference

Inheritance diagram for org.exolab.castor.xml.schema.SimpleContent:
org.exolab.castor.xml.schema.ContentType

List of all members.

Public Member Functions

 SimpleContent ()
 SimpleContent (SimpleContent content)
 SimpleContent (SimpleType simpleType)
 SimpleContent (Schema schema, String typeName)
SimpleContent copy ()
SimpleType getSimpleType ()
String getTypeName ()
void setSimpleType (SimpleType simpleType)

Detailed Description

An extension of the ContentType to support simple content extension and restriction for complexTypes.

Author:
Keith Visco
Version:
Revision:
1.1
Date:
2003/03/03 17:44:01

Constructor & Destructor Documentation

org.exolab.castor.xml.schema.SimpleContent.SimpleContent (  ) 
org.exolab.castor.xml.schema.SimpleContent.SimpleContent ( SimpleContent  content  ) 

Creates a new SimpleContent using the given SimpleContent. This constructor will copy from the given SimpleContent.

Parameters:
content the SimpleContent to copy from
org.exolab.castor.xml.schema.SimpleContent.SimpleContent ( SimpleType  simpleType  ) 

Creates a new SimpleContent

Parameters:
simpleType the simpleType of this SimpleContent
org.exolab.castor.xml.schema.SimpleContent.SimpleContent ( Schema  schema,
String  typeName 
)

Creates a new SimpleContent

Parameters:
schema the associated parent Schema
typeName the name of the base simpleType, or complexType (must also be a SimpleContent).

Member Function Documentation

SimpleContent org.exolab.castor.xml.schema.SimpleContent.copy (  ) 
String org.exolab.castor.xml.schema.SimpleContent.getTypeName (  ) 
void org.exolab.castor.xml.schema.SimpleContent.setSimpleType ( SimpleType  simpleType  ) 

Sets the simpleType that represents that contentType.

Parameters:
simpleType the simpleType to set

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties