|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectelectric.xml.io.Type
electric.xml.io.simple.SimpleType
electric.xml.io.simple.Restriction
Restriction
| Field Summary |
| Fields inherited from class electric.xml.io.Type |
anonymous, dominant, inhibit, javaName, name, schema |
| Fields inherited from interface electric.xml.io.mapping.IMapConstants |
ARRAY_NAMESPACE, CLASS, COMPONENT_NAMESPACE, DEFAULT_PACKAGE, DOMINANT, FACTORY, FIELD, GET, JAVA, MAP_PREFIX, NAME, NAMESPACE, PACKAGE, PROPERTY, SCHEMA, SET, TYPE |
| Fields inherited from interface electric.xml.IEXMLLoggingConstants |
MAPPING_EVENT, SCHEMA_EVENT |
| Fields inherited from interface electric.util.log.ILoggingConstants |
CLASSLOADER_EVENT, COMMAND_EVENT, COMMENT_EVENT, CONFIG_EVENT, DEBUG_EVENT, ELECTRIC_LOGGING_PROPERTY, ERROR_EVENT, EXCEPTION_EVENT, FILE_EVENT, LICENSE_EVENT, RESOURCES_EVENT, SECURITY_EVENT, SHUTDOWN_EVENT, SOURCE_EVENT, SQL_EVENT, STARTUP_EVENT, WARNING_EVENT |
| Constructor Summary | |
Restriction()
|
|
Restriction(Namespaces namespaces,
java.lang.String namespace,
java.lang.String name,
java.lang.Class javaClass)
|
|
Restriction(Namespaces namespaces,
java.lang.String namespace,
java.lang.String name,
Element schema)
|
|
Restriction(Schema schemaObject,
java.lang.String name,
Element schemaElement)
|
|
| Method Summary | |
void |
addDependencies(java.util.Vector dependencies)
Add all the types that this type depends on into the Vector. |
SimpleType |
getBaseType()
|
java.lang.Object |
getEnumerationValue(java.lang.Object enumeration)
|
java.lang.Object |
getEnumerationValue(java.lang.String string)
|
java.lang.Class |
getJavaClass()
|
java.lang.String |
getJavaName()
Return the javaName that this type represents. |
boolean |
isInhibit()
Inhibited types don't generate any Java Classes when run through schema2java and wsdl2java. |
boolean |
isMultiReference()
Types derived from string and byte[] should be multi-ref |
void |
readObject(IReader reader,
Value value)
Read in the object from the reader, and place it in the value. |
void |
readSchema(Element schema)
|
java.lang.String |
toString()
|
void |
writeJava(JavaSource source)
Write out a java representation of this class into the JavaSource. |
void |
writeObject(IWriter writer,
java.lang.Object object)
Write out the object specified to the writer using this type. |
void |
writeSchema(Element element)
Append the schema for this type to the element passed in. |
void |
writeSchema(Element element,
boolean annotated)
Append the schema for this type to the element passed in. |
| Methods inherited from class electric.xml.io.simple.SimpleType |
readObjectRestricted, writeObjectRestricted |
| Methods inherited from class electric.xml.io.Type |
addAllDependencies, appendSchema, equals, findJavaClass, getJavaClassWithCheck, getName, getName, getName, getName, getNamespace, getNamespaces, getQName, getRuntimeType, getSchema, getSchemaElement, getType, getXSDPrefix, getXSIPrefix, isAnonymous, isDominant, isStandard, setAnonymous, setDominant, setInhibit, setJavaClass, setJavaName, setName, setNamespaces, setSchema, useAnonymous, useSchemaElement, writeType |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Restriction()
public Restriction(Namespaces namespaces,
java.lang.String namespace,
java.lang.String name,
java.lang.Class javaClass)
throws SchemaException
namespaces - namespace - name - javaClass -
public Restriction(Namespaces namespaces,
java.lang.String namespace,
java.lang.String name,
Element schema)
throws SchemaException
namespaces - namespace - name - schema -
SchemaException
public Restriction(Schema schemaObject,
java.lang.String name,
Element schemaElement)
throws SchemaException
schemaObject - name - schemaElement -
SchemaException| Method Detail |
public java.lang.String toString()
public boolean isMultiReference()
isMultiReference in class SimpleType
public SimpleType getBaseType()
throws SchemaException
SchemaException
public void addDependencies(java.util.Vector dependencies)
throws SchemaException
Type
addDependencies in class Typedependencies -
SchemaException
public java.lang.String getJavaName()
throws SchemaException
Type
getJavaName in class TypeSchemaException
public java.lang.Class getJavaClass()
throws SchemaException
getJavaClass in class TypeSchemaException
public void writeJava(JavaSource source)
throws SchemaException
Type
writeJava in class Typesource -
SchemaException
public java.lang.Object getEnumerationValue(java.lang.Object enumeration)
throws java.io.IOException
enumeration -
java.io.IOException
public java.lang.Object getEnumerationValue(java.lang.String string)
throws java.io.IOException
string -
java.io.IOException
public void readSchema(Element schema)
throws SchemaException
readSchema in class Typeschema -
SchemaException
public void writeSchema(Element element)
throws SchemaException
Type
writeSchema in class Typeelement -
SchemaException
public void writeSchema(Element element,
boolean annotated)
throws SchemaException
Type
writeSchema in class Typeelement - annotated -
SchemaException
public void writeObject(IWriter writer,
java.lang.Object object)
throws java.io.IOException
Type
writeObject in class Typewriter - object -
java.io.IOException
public void readObject(IReader reader,
Value value)
throws java.io.IOException
Type
readObject in class Typereader - value -
java.io.IOExceptionpublic boolean isInhibit()
Type
isInhibit in class Type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||