|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ScalarUnmarshallingContext | |
|---|---|
| ecologylab.xml | Provides facilities to translate trees of nested Java objects to equivalent XML DOMs, and vice versa. |
| ecologylab.xml.types.scalar | Provides an extensible type system for translating fields to and from String representations. |
| Uses of ScalarUnmarshallingContext in ecologylab.xml |
|---|
| Classes in ecologylab.xml that implement ScalarUnmarshallingContext | |
|---|---|
class |
ElementStateSAXHandler
Use SAX to translate XML into a typed tree of ElementState objects. |
| Methods in ecologylab.xml with parameters of type ScalarUnmarshallingContext | |
|---|---|
boolean |
FieldDescriptor.set(ElementState context,
java.lang.String valueString,
ScalarUnmarshallingContext scalarUnMarshallingContext)
In the supplied context object, set the *typed* value of the field, using the valueString passed in. |
| Uses of ScalarUnmarshallingContext in ecologylab.xml.types.scalar |
|---|
| Methods in ecologylab.xml.types.scalar with parameters of type ScalarUnmarshallingContext | |
|---|---|
java.net.URL |
URLType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
|
java.lang.String |
StringType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
Just return the value itself. |
java.lang.StringBuilder |
StringBuilderType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
Return the value wrapped inside a StringBuilder. |
java.lang.Short |
ShortType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
Parse the String into the (primitive) type, and return a boxed instance. |
ScalarType |
ScalarTypeType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
Capitalize the value if it wasn't. |
abstract T |
ScalarType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
If this is a reference type, build an appropriate Object, given a String
representation. |
java.util.regex.Pattern |
PatternType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
|
ParsedURL |
ParsedURLType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
Looks for file in value, and creates a ParsedURL with file set if appropriate. |
java.lang.Long |
LongType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
Parse the String into the (primitive) type, and return a boxed instance. |
java.lang.Integer |
IntType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
If this is a reference type, build an appropriate Object, given a String
representation. |
java.lang.Float |
FloatType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
If this is a reference type, build an appropriate Object, given a String
representation. |
java.io.File |
FileType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
|
java.lang.reflect.Field |
FieldType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
In Java it is not possible to create instances of Field. |
java.lang.Double |
DoubleType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
Parse the String into the (primitive) type, and return a boxed instance. |
java.util.Date |
DateType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
|
java.awt.Color |
ColorType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
|
java.lang.Class |
ClassType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
Create a class object, using the value as a fully qualified class name. |
java.lang.Character |
CharType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
Parse the String into the (primitive) type, and return a boxed instance. |
java.lang.Byte |
ByteType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
Parse the String into the (primitive) type, and return a boxed instance. |
java.lang.Boolean |
BooleanType.getInstance(java.lang.String value,
java.lang.String[] formatStrings,
ScalarUnmarshallingContext scalarUnmarshallingContext)
If this is a reference type, build an appropriate Object, given a String
representation. |
boolean |
ScalarType.setField(java.lang.Object context,
java.lang.reflect.Field field,
java.lang.String valueString,
java.lang.String[] format,
ScalarUnmarshallingContext scalarUnmarshallingContext)
Set the field in the context, using the valueString, converting it to the appropriate type using a subclass of this. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||