public class ExpressionDescriptor<T>
extends de.tsl2.nano.bean.def.AbstractExpression<T>
AbstractExpression through toInstance(). provides some helpers to identify a string
value (see isHtml(String), isURL(String), isJSON(String).| Constructor and Description |
|---|
ExpressionDescriptor() |
ExpressionDescriptor(Class declaringClass) |
ExpressionDescriptor(Class declaringClass,
String expression)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExpressionPattern() |
String |
getName() |
static String |
getName(String url) |
T |
getValue(Object instance) |
static boolean |
isAudio(String response) |
static boolean |
isHtml(String response) |
static boolean |
isJSON(String response) |
static boolean |
isSVG(String response) |
static boolean |
isURL(String response) |
static boolean |
isVideo(String response) |
void |
setValue(Object instance,
T value) |
compareTo, createRegExpOnAllRegistered, equals, getAccessMethod, getDeclaringClass, getExpression, getId, getImplementation, getType, hashCode, hasWriteAccess, isVirtual, registerExpression, setDeclaringClass, setExpression, setName, setType, toStringpublic ExpressionDescriptor()
public ExpressionDescriptor(Class declaringClass)
public String getExpressionPattern()
public String getName()
public static boolean isHtml(String response)
public static boolean isJSON(String response)
public static boolean isURL(String response)
public static boolean isSVG(String response)
public static boolean isAudio(String response)
public static boolean isVideo(String response)
Copyright © 2012–2020. All rights reserved.