-
public class SchemaMapper
property parser.
-
-
Method Summary
Modifier and Type Method Description static BoolSchemaBean
toBoolSchema(String data)
Parse property to BoolSchemaBean static EnumSchemaBean
toEnumSchema(String data)
Parse property to EnumSchemaBean static StringSchemaBean
toStringSchema(String data)
Parse property to StringSchemaBean static ValueSchemaBean
toValueSchema(String data)
Parse property to ValueSchemaBean static BitmapSchemaBean
toBitmapSchema(String data)
Parse property to BitmapSchemaBean static ArraySchemaBean
toArraySchema(String data)
parse link device's event、action、property array typeSpec message static StructSchemaBean
toStructSchema(String data)
parse link device's event、action、property tpeSpec message -
-
Method Detail
-
toBoolSchema
static BoolSchemaBean toBoolSchema(String data)
Parse property to BoolSchemaBean
- Parameters:
data
- property
-
toEnumSchema
static EnumSchemaBean toEnumSchema(String data)
Parse property to EnumSchemaBean
- Parameters:
data
- property
-
toStringSchema
static StringSchemaBean toStringSchema(String data)
Parse property to StringSchemaBean
- Parameters:
data
- property
-
toValueSchema
static ValueSchemaBean toValueSchema(String data)
Parse property to ValueSchemaBean
- Parameters:
data
- property
-
toBitmapSchema
static BitmapSchemaBean toBitmapSchema(String data)
Parse property to BitmapSchemaBean
- Parameters:
data
- property
-
toArraySchema
static ArraySchemaBean toArraySchema(String data)
parse link device's event、action、property array typeSpec message
- Parameters:
data
- tpeSpec message data
-
toStructSchema
static StructSchemaBean toStructSchema(String data)
parse link device's event、action、property tpeSpec message
- Parameters:
data
- struct message data
-
-
-
-