|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISimpleType
| Field Summary | |
|---|---|
static java.lang.String |
EMPTY_STRING
|
static java.lang.String |
SIMPLE_CONTENT_TEXT
|
| Method Summary | |
|---|---|
void |
actAs(java.lang.String extendedType,
short dataType)
|
void |
actAsBoolean()
Defines that the primitive data type of this type is Boolean. |
void |
actAsColor()
Defines that the primitive data type of this type is Color. |
void |
actAsDate()
Defines that the primitive data type of this type is a date. |
void |
actAsDateTime()
Defines that the primitive data type of this type is a date. |
void |
actAsDouble()
Defines that the primitive data type of this type is Integer. |
void |
actAsInt()
Defines that the primitive data type of this type is int. |
void |
actAsInteger()
Defines that the primitive data type of this type is Integer. |
void |
actAsPassword()
Defines that the primitive data type of this type is a date. |
void |
actAsString()
Defines that the primitive data type of this type is String. |
void |
actAsVisualizer()
Defines that the primitive data type of this type is Visualizer. |
void |
bind(Document DOM,
org.w3c.dom.Element instanceElement)
Binds an existing W3C element and its value(s) to the underlying W3C element. |
void |
bind(Document DOM,
org.w3c.dom.Element instanceElement,
boolean bindOnlyAvailable)
|
void |
bind(java.lang.Object trigger,
Type type)
Binds an existing JAXFront type and its value(s) to myself. |
void |
checkDuplicateID(java.lang.String newValue)
|
void |
checkDuplicateKey(java.lang.String newValue)
|
java.util.List |
checkForDuplicateID()
|
void |
checkKeyExist()
|
void |
checkKeyExist(java.lang.String keyValue)
|
java.lang.Object |
clone()
Clones this type. |
int |
compareValue(SimpleType with)
|
Type |
deepClone(Document dom,
boolean cloneChoices,
boolean includingData)
Creates a deep clone of this type and all its referenced types. |
Type |
deepClone(Document dom,
boolean cloneChoices,
boolean includingData,
boolean includeEditingType,
SchemaNode schemaNode,
org.w3c.dom.Element element)
|
Type |
deepClone(Document dom,
boolean cloneChoices,
boolean includingData,
SchemaNode schemaNode,
org.w3c.dom.Element element)
|
void |
domChanged(DOMChangeEvent event)
|
ListType |
evaluateKeyHolderList()
|
KeyContainer |
evaluatePossibleKeyContainer()
|
Type |
evaluatePossibleKeyType()
|
Type |
getChild(java.lang.String name)
|
Type |
getChild(java.lang.String name,
java.lang.String nameSpace)
|
java.lang.String |
getCodeSetHelp()
|
java.lang.String |
getCodeSetParam()
|
java.lang.String |
getDefaultNullValue()
|
java.lang.String |
getDefaultValue()
Gets the default value of this type according to the schema element. |
Type |
getDirectChild(java.lang.String name)
|
Type |
getDirectChild(java.lang.String name,
java.lang.String namespace)
|
java.util.List |
getDirectChildren()
Gets a list of all child types. |
java.util.List |
getDirectChildren(java.lang.String name)
Gets a list of child types with a given name. |
java.lang.String |
getDisplayValue()
Returns this type as a String representation for JTables. |
java.lang.String[] |
getEnumeration()
Returns the enumeration of a type as String[]. |
java.lang.String |
getFixedValue()
Gets the fixed value of this type according to the schema element. |
KeyRefDefinition |
getKeyRefDefinition()
|
java.lang.Object |
getMathValueTyped()
Return the effective type object for the formula expression math evaluator. |
double |
getMaxExclValue()
|
double |
getMaxInclValue()
|
long |
getMaxLength()
Return the maximum length of this type. |
double |
getMinExclValue()
|
double |
getMinInclValue()
|
long |
getMinLength()
Return the minimum length of this type. |
java.lang.String |
getName()
Gets the tag name of the resulting W3C DOM. |
java.lang.String |
getPlainValue()
Get's the value of this type without any modifications! |
int |
getPrimitiveDataType()
Gets the primitive data type (as defined in the XML Schema) of this type. |
java.lang.String |
getReferencedKeyName()
|
Type |
getReferencedKeyType()
|
SchemaSimpleType |
getSimpleSchemaType()
|
int |
getTotalDigit()
|
java.lang.String |
getUserDefaultValue()
Gets the value of this type. |
java.lang.String |
getValue()
Gets the value of this type. |
boolean |
hasEmptyContent(boolean validationContext)
|
boolean |
hasEmptyContent(boolean checkSerializeDefaults,
boolean checkDefaultValue)
|
boolean |
hasRegularExpression()
Returns true if this type holds a regular expression. |
boolean |
isAnyType()
Returns true if the content of this type can be any type. |
boolean |
isBoolean()
Returns if the primitive data type of this type is Boolean. |
boolean |
isChoice()
Returns if this type belongs to a choice. |
boolean |
isColor()
Returns if the primitive data type of this type is Color. |
boolean |
isDate()
Returns if the primitive data type of this type is Date. |
boolean |
isDateTime()
Returns if the primitive data type of this type is DateTime. |
boolean |
isDuration()
Returns if the primitive data type of this type is Duration. |
boolean |
isFloatingNumber()
Return the effective type object for the formula expression math evaluator. |
boolean |
isKey()
|
boolean |
isKeyRef()
|
boolean |
isNumber()
Returns if the primitive data type of this type is a number like Float, Double or Decimal. |
boolean |
isPassword()
|
boolean |
isSimple()
Returns true if this is a leaf in the tree. |
boolean |
isSimpleContent()
Returns if this type has simple content. |
boolean |
isString()
Returns if the primitive data type of this type is String. |
boolean |
isTime()
Returns if the primitive data type of this type is Date. |
boolean |
isUsingDefaultValue()
|
boolean |
isUsingDefaultValue(boolean checkXuiDefault)
Return true if type is using a default value. |
boolean |
isVisualizer()
Returns if the primitive data type of this type is Visualizer. |
void |
markAsDirtyXPath()
|
void |
release()
|
boolean |
remove()
Removes this type from the JAXFront DOM. |
void |
serialize(java.lang.StringBuffer sb,
int indent,
boolean writeName,
boolean recursive,
boolean serializeEmptyContent)
Serializes the current subTree to a StringBuffer |
void |
setIsAttribute(boolean isAttribute)
|
void |
setValue(java.lang.Object eventSource,
java.lang.String newValue,
boolean isTemporary)
|
void |
setValue(java.lang.Object eventSource,
java.lang.String newValue,
boolean isTemporary,
boolean localeConversion)
|
void |
setValue(java.lang.Object eventSource,
java.lang.String newValue,
boolean isTemporary,
boolean localeConversion,
java.util.Stack callStack)
|
void |
setValue(java.lang.String newValue)
Sets a new value of this type. |
void |
setValue(java.lang.String newValue,
boolean isTemporary)
|
java.lang.String |
toString()
Returns this type as a String representation. |
java.lang.String |
translateToCodeSetValue()
Returns the codeset decription value if this type is using a codeset enumeration otherwise return the normal value. |
void |
validate()
|
void |
validate(boolean domIsValidating)
|
| Field Detail |
|---|
static final java.lang.String EMPTY_STRING
static final java.lang.String SIMPLE_CONTENT_TEXT
| Method Detail |
|---|
void actAs(java.lang.String extendedType,
short dataType)
void actAsBoolean()
void actAsColor()
void actAsDate()
void actAsDateTime()
void actAsDouble()
void actAsInt()
void actAsInteger()
void actAsPassword()
void actAsString()
void actAsVisualizer()
void bind(Document DOM,
org.w3c.dom.Element instanceElement)
DOM - the current document to which this type belongsinstanceElement - the element to bind
void bind(Document DOM,
org.w3c.dom.Element instanceElement,
boolean bindOnlyAvailable)
void bind(java.lang.Object trigger,
Type type)
type - the JAXFront type to bind
void checkDuplicateID(java.lang.String newValue)
throws ValidationException
ValidationException
void checkDuplicateKey(java.lang.String newValue)
throws ValidationException
ValidationException
java.util.List checkForDuplicateID()
throws ValidationException
ValidationException
void checkKeyExist()
throws ValidationException
ValidationException
void checkKeyExist(java.lang.String keyValue)
throws ValidationException
ValidationException
java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException - if this type cannot be clonedint compareValue(SimpleType with)
Type deepClone(Document dom,
boolean cloneChoices,
boolean includingData)
throws java.lang.CloneNotSupportedException
dom - the current dom to which this type belongs
java.lang.CloneNotSupportedException
Type deepClone(Document dom,
boolean cloneChoices,
boolean includingData,
boolean includeEditingType,
SchemaNode schemaNode,
org.w3c.dom.Element element)
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
Type deepClone(Document dom,
boolean cloneChoices,
boolean includingData,
SchemaNode schemaNode,
org.w3c.dom.Element element)
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedExceptionvoid domChanged(DOMChangeEvent event)
DOMChangeListener.domChanged(com.jaxfront.core.dom.DOMChangeEvent)ListType evaluateKeyHolderList()
KeyContainer evaluatePossibleKeyContainer()
Type evaluatePossibleKeyType()
Type getChild(java.lang.String name)
Type.getChild(java.lang.String)
Type getChild(java.lang.String name,
java.lang.String nameSpace)
Type.getChild(java.lang.String)java.lang.String getCodeSetHelp()
java.lang.String getCodeSetParam()
java.lang.String getDefaultNullValue()
java.lang.String getDefaultValue()
Type getDirectChild(java.lang.String name)
Type.getDirectChild(java.lang.String)
Type getDirectChild(java.lang.String name,
java.lang.String namespace)
Type.getDirectChild(java.lang.String,java.lang.String)java.util.List getDirectChildren()
java.util.List getDirectChildren(java.lang.String name)
name - the name of the child(s)
java.lang.String getDisplayValue()
java.lang.String[] getEnumeration()
java.lang.String getFixedValue()
KeyRefDefinition getKeyRefDefinition()
java.lang.Object getMathValueTyped()
double getMaxExclValue()
double getMaxInclValue()
long getMaxLength()
double getMinExclValue()
double getMinInclValue()
long getMinLength()
java.lang.String getName()
java.lang.String getPlainValue()
int getPrimitiveDataType()
java.lang.String getReferencedKeyName()
Type getReferencedKeyType()
SchemaSimpleType getSimpleSchemaType()
int getTotalDigit()
java.lang.String getUserDefaultValue()
java.lang.String getValue()
boolean hasEmptyContent(boolean validationContext)
boolean hasEmptyContent(boolean checkSerializeDefaults,
boolean checkDefaultValue)
boolean hasRegularExpression()
boolean isAnyType()
boolean isBoolean()
boolean isChoice()
boolean isColor()
boolean isDate()
boolean isDateTime()
boolean isDuration()
boolean isFloatingNumber()
boolean isKey()
Type.isKey()boolean isKeyRef()
Type.isKeyRef()()boolean isNumber()
boolean isPassword()
boolean isSimple()
boolean isSimpleContent()
boolean isString()
boolean isTime()
boolean isUsingDefaultValue()
boolean isUsingDefaultValue(boolean checkXuiDefault)
boolean isVisualizer()
void markAsDirtyXPath()
void release()
Type.release()
boolean remove()
throws ListModificationException
ListModificationException
void serialize(java.lang.StringBuffer sb,
int indent,
boolean writeName,
boolean recursive,
boolean serializeEmptyContent)
sb - a StringBuffer into which the subTree will be serializedindent - size of indentwriteName - true, if the name of the type should be serialized, false otherwiserecursive - true, if all containing types should be serializedvoid setIsAttribute(boolean isAttribute)
void setValue(java.lang.Object eventSource,
java.lang.String newValue,
boolean isTemporary)
void setValue(java.lang.Object eventSource,
java.lang.String newValue,
boolean isTemporary,
boolean localeConversion)
void setValue(java.lang.Object eventSource,
java.lang.String newValue,
boolean isTemporary,
boolean localeConversion,
java.util.Stack callStack)
void setValue(java.lang.String newValue)
newValue - a new value
void setValue(java.lang.String newValue,
boolean isTemporary)
java.lang.String toString()
toString in class java.lang.Objectjava.lang.String translateToCodeSetValue()
void validate()
void validate(boolean domIsValidating)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||