Package | Description |
---|---|
org.exolab.castor.builder |
Castor XML code generator
|
org.exolab.castor.builder.factory | |
org.exolab.castor.builder.types | |
org.exolab.castor.xml.schema | |
org.exolab.castor.xml.schema.reader | |
org.exolab.castor.xml.schema.simpletypes | |
org.exolab.castor.xml.schema.simpletypes.factory |
Modifier and Type | Method and Description |
---|---|
void |
AnnotationBuilder.addEnumAnnotations(SimpleType simpleType,
JEnum jEnums)
add annotations to a java5 enum.
|
XSType |
TypeConversion.convertType(SimpleType simpleType,
boolean useJava50)
Converts the given Simpletype to the appropriate XSType.
|
XSType |
TypeConversion.convertType(SimpleType simpleType,
String packageName,
boolean useJava50)
Converts the given Simpletype to the appropriate XSType.
|
XSType |
TypeConversion.convertType(SimpleType simpleType,
String packageName,
boolean useWrapper,
boolean useJava50,
String javaClassBindingName)
Converts the given Simpletype to the appropriate XSType.
|
Modifier and Type | Method and Description |
---|---|
JClass |
SourceFactory.createSourceCode(ExtendedBinding binding,
SimpleType simpleType,
SGStateInfo sgState)
Creates the Java source code to support the given Simpletype.
|
Modifier and Type | Method and Description |
---|---|
void |
XSType.setFacets(SimpleType simpleType)
Reads and sets the facets for XSType.
|
Modifier and Type | Class and Description |
---|---|
class |
Union
A class that represents the XML Schema Union simple-type.
|
Modifier and Type | Method and Description |
---|---|
protected SimpleType |
SimpleType.createReference(String name)
A helper method for classes which extend SimpleType.
|
SimpleType |
Schema.createSimpleType(String name,
SimpleType baseType)
Creates a new SimpleType using this Schema as the owning Schema
document.
|
SimpleType |
Schema.createSimpleType(String name,
String baseName,
String derivation)
Creates a new SimpleType using this Schema as the owning Schema
document.
|
SimpleType |
SimpleType.getBuiltInBaseType()
Returns the built in type this type is derived from.
|
SimpleType |
SimpleTypesFactory.getBuiltInType(String typeName)
Gets an instance of a class derived from
SimpleType representing the
built in type which name is given as a parameter. |
SimpleType |
Facet.getOwningType()
Returns the owning
SimpleType instance. |
SimpleType |
AttributeDecl.getSimpleType()
Returns the data type associated with this AttributeDecl.
|
SimpleType |
SimpleContent.getSimpleType()
Returns the simpleType that represents that contentType.
|
SimpleType |
Schema.getSimpleType(String name)
Returns the SimpleType associated with the given name,
or null if no such SimpleType exists.
|
SimpleType |
RedefineSchema.getSimpleType(String name)
Returns the SimpleType corresponding to the given name.
|
SimpleType |
Schema.getSimpleType(String name,
String namespace)
Returns the SimpleType associated with the given name
and namespace, or null if no such SimpleType exists.
|
protected static SimpleType |
SimpleType.resolveReference(SimpleType simpleType)
A helper method for classes which extend SimpleType.
|
Modifier and Type | Method and Description |
---|---|
Collection<SimpleType> |
RedefineSchema.enumerateSimpleTypes()
Enumerates the simpleType names.
|
Collection<SimpleType> |
Schema.getSimpleTypes()
Returns an Enumeration of all SimpleType declarations
|
Modifier and Type | Method and Description |
---|---|
void |
Union.addMemberType(SimpleType simpleType)
Adds the given SimpleType as a member of this Union
|
void |
Schema.addSimpleType(SimpleType simpleType)
Adds the given SimpletType definition to this Schema defintion
|
void |
RedefineSchema.addSimpleType(SimpleType simpleType)
Adds a simpleType in the list of redefined simpleTypes.
|
protected void |
SimpleType.copyFacets(SimpleType target)
Copy this type's facets to the target type.
|
SimpleType |
Schema.createSimpleType(String name,
SimpleType baseType)
Creates a new SimpleType using this Schema as the owning Schema
document.
|
boolean |
Schema.removeSimpleType(SimpleType simpleType)
Removes the given top level SimpleType from this Schema
|
boolean |
RedefineSchema.removeSimpleType(SimpleType simpleType)
Removes the given simpleType from the redefine structure.
|
protected static SimpleType |
SimpleType.resolveReference(SimpleType simpleType)
A helper method for classes which extend SimpleType.
|
void |
Facet.setOwningType(SimpleType owningType)
Sets the owning
SimpleType instance. |
void |
AttributeDecl.setSimpleType(SimpleType simpleType)
Sets the SimpleType for this attribute declaration
|
void |
SimpleContent.setSimpleType(SimpleType simpleType)
Sets the simpleType that represents that contentType.
|
Constructor and Description |
---|
SimpleContent(SimpleType simpleType)
Creates a new SimpleContent
|
Modifier and Type | Method and Description |
---|---|
SimpleType |
SimpleTypeDefinition.createSimpleType()
Creates the SimpleType instance which represents this
SimpleTypeDefinition
|
SimpleType |
SimpleTypeUnmarshaller.getSimpleType()
Returns the SimpleType created
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleTypeDefinition.setBaseType(SimpleType baseType)
Sets the base type for this SimpleTypeDefinition.
|
Modifier and Type | Class and Description |
---|---|
class |
AnyURIType |
class |
AtomicType
The base class for built-in atomic Schema types
|
class |
BinaryType
Represents types derived from binary
|
class |
BooleanType
Represents the boolean type
|
class |
DateTimeType
Represents date/time XML SChema types
|
class |
DecimalType
Represents the decimal type and those derived from it (integer, short...)
|
class |
DurationType
Represents timeDuration
|
class |
ListType
Represents a SimpleType that is a "list" of a given
SimpleType.
|
class |
RealType
Represents "real numbers" (float, double and user types derived from them)
Those numbers are of the form m x 2^e
The min and max values for
m are accessed with get/setMin/MaxMantissa
e are accessed with get/setMin/MaxExponent
m and e are not facets as specified by the xmlschema,
they are just a way to regroup real and float under the same class.
|
class |
StringType
Represents the XML Schema string type.
|
class |
UrType
The ur-type definition
|
Modifier and Type | Method and Description |
---|---|
SimpleType |
ListType.getItemType()
Returns the simpleType for the items of this ListType.
|
Modifier and Type | Method and Description |
---|---|
void |
ListType.setItemType(SimpleType type)
Sets the SimpleType for this ListType (the type of
item that instances of this list holds).
|
Modifier and Type | Method and Description |
---|---|
SimpleType |
Type.getSimpleType() |
Modifier and Type | Method and Description |
---|---|
void |
Type.setSimpleType(SimpleType simpleType) |
Copyright © 2018. All rights reserved.