public class LiteralDescr extends BaseDescr
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_BOOLEAN |
static int |
TYPE_NULL |
static int |
TYPE_NUMBER |
static int |
TYPE_STRING |
| Constructor and Description |
|---|
LiteralDescr() |
LiteralDescr(String text,
int type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getText() |
int |
getType() |
Object |
getValue() |
void |
setType(int type) |
String |
toString() |
copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, positionAsString, readExternal, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setText, writeExternalpublic static final int TYPE_NULL
public static final int TYPE_NUMBER
public static final int TYPE_STRING
public static final int TYPE_BOOLEAN
public LiteralDescr()
public LiteralDescr(String text, int type)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.