public static enum XSLTProcess.ParamType extends java.lang.Enum<XSLTProcess.ParamType>
The expression can be:
The parameter will be then passed to the XSLT template.
Default type (if omitted) is primitive String. So if the expression is e.g "true" with no type, in XSLT it will be only a text string, not true boolean.
XSLTProcess.Param.setType(java.lang.String)
,
XSLTProcess.Param.setExpression(java.lang.String)
Enum Constant and Description |
---|
BOOLEAN |
DOUBLE |
INT |
LONG |
STRING |
XPATH_BOOLEAN |
XPATH_NODE |
XPATH_NODESET |
XPATH_NUMBER |
XPATH_STRING |
Modifier and Type | Field and Description |
---|---|
static java.util.Map<XSLTProcess.ParamType,javax.xml.namespace.QName> |
XPATH_TYPES |
Modifier and Type | Method and Description |
---|---|
static XSLTProcess.ParamType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XSLTProcess.ParamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XSLTProcess.ParamType STRING
public static final XSLTProcess.ParamType BOOLEAN
public static final XSLTProcess.ParamType INT
public static final XSLTProcess.ParamType LONG
public static final XSLTProcess.ParamType DOUBLE
public static final XSLTProcess.ParamType XPATH_STRING
public static final XSLTProcess.ParamType XPATH_BOOLEAN
public static final XSLTProcess.ParamType XPATH_NUMBER
public static final XSLTProcess.ParamType XPATH_NODE
public static final XSLTProcess.ParamType XPATH_NODESET
public static final java.util.Map<XSLTProcess.ParamType,javax.xml.namespace.QName> XPATH_TYPES
public static XSLTProcess.ParamType[] values()
for (XSLTProcess.ParamType c : XSLTProcess.ParamType.values()) System.out.println(c);
public static XSLTProcess.ParamType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null