public abstract class XValueFactory extends Object
XMap.setValueFactory(Class, com.alipay.sofa.common.xmap.XValueFactory)| 限定符和类型 | 字段和说明 |
|---|---|
static XValueFactory |
BOOLEAN |
static XValueFactory |
BYTE |
static XValueFactory |
CHAR |
static XValueFactory |
CLASS |
static XValueFactory |
DATE |
static XValueFactory |
DOUBLE |
static XValueFactory |
FILE |
static XValueFactory |
FLOAT |
static XValueFactory |
INTEGER |
static XValueFactory |
LONG |
static XValueFactory |
RESOURCE |
static XValueFactory |
SHORT |
static XValueFactory |
STRING |
static XValueFactory |
URL |
| 构造器和说明 |
|---|
XValueFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
addFactory(Class klass,
XValueFactory factory) |
Object |
getAttributeValue(Context ctx,
Node element,
String name) |
Object |
getElementValue(Context ctx,
Node element,
boolean trim) |
static XValueFactory |
getFactory(Class type) |
static Object |
getValue(Context ctx,
Class klass,
String value) |
abstract Object |
getValue(Context ctx,
String value) |
public static final XValueFactory STRING
public static final XValueFactory INTEGER
public static final XValueFactory LONG
public static final XValueFactory DOUBLE
public static final XValueFactory FLOAT
public static final XValueFactory BOOLEAN
public static final XValueFactory DATE
public static final XValueFactory FILE
public static final XValueFactory URL
public static final XValueFactory CLASS
public static final XValueFactory RESOURCE
public static final XValueFactory SHORT
public static final XValueFactory CHAR
public static final XValueFactory BYTE
public static void addFactory(Class klass, XValueFactory factory)
public static XValueFactory getFactory(Class type)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.