public class CharValue extends Value implements QuotedValue
Modifier and Type | Method and Description |
---|---|
char |
get()
getChar
|
java.lang.Character |
getCharacter()
getCharacter
|
java.lang.String |
getTypeInfo()
getTypeInfo
|
static Value |
parse(URIString pUriStr)
Parses a char16 value.
|
static Value |
parse(URIString pUriStr,
boolean pThrow)
charValue = // example: 'a' '\x32'
|
java.lang.String |
toQuotedString()
Prints the String representation in a quoted form.
|
java.lang.String |
toString() |
public static Value parse(URIString pUriStr, boolean pThrow) throws java.lang.IllegalArgumentException
pUriStr
- pThrow
- Value
or null
if parsing is failed and
pThrow
is false
java.lang.IllegalArgumentException
- if parsing is failed and pThrow
is
true
public static Value parse(URIString pUriStr)
pUriStr
- public char get()
public java.lang.Character getCharacter()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.String toQuotedString()
QuotedValue
toQuotedString
in interface QuotedValue
QuotedValue.toQuotedString()
public java.lang.String getTypeInfo()
Value
getTypeInfo
in class Value
Value.getTypeInfo()
Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.