|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.schema.reader.SimpleTypeDefinition
public class SimpleTypeDefinition
A simple class used when unmarshalling simpleTypes
Constructor Summary | |
---|---|
SimpleTypeDefinition(Schema schema,
java.lang.String name,
java.lang.String id)
|
Method Summary | |
---|---|
void |
addFacet(Facet facet)
Adds the given Facet to the list of Facets for this SimpleTypeDefinition |
SimpleType |
createSimpleType()
Creates the SimpleType instance which represents this SimpleTypeDefinition |
void |
setBaseType(SimpleType baseType)
Sets the base type for this SimpleTypeDefinition. |
void |
setFinal(java.lang.String finalValue)
Sets the value of the 'final' property, indicating which types of derivation are not allowed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleTypeDefinition(Schema schema, java.lang.String name, java.lang.String id)
Method Detail |
---|
public void addFacet(Facet facet)
facet
- the Facet to addpublic SimpleType createSimpleType()
public void setBaseType(SimpleType baseType)
baseType
- the base type for this SimpleTypeDefinitionpublic void setFinal(java.lang.String finalValue)
finalValue
- the value of the final property.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |