org.sblim.cimclient.internal.uri
Class StringValue

java.lang.Object
  extended by org.sblim.cimclient.internal.uri.Value
      extended by org.sblim.cimclient.internal.uri.StringValue
All Implemented Interfaces:
QuotedValue

public class StringValue
extends Value
implements QuotedValue

Class UntypedStringValue parses an untyped string value.


Method Summary
 java.lang.String getTypeInfo()
          getTypeInfo
static Value parse(URIString pUriStr)
          Factory method for parsing quoted strings.
 java.lang.String toQuotedString()
          Prints the String representation in a quoted form.
 java.lang.String toString()
           
 
Methods inherited from class org.sblim.cimclient.internal.uri.Value
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

parse

public static Value parse(URIString pUriStr)
                   throws java.lang.IllegalArgumentException
Factory method for parsing quoted strings.

Parameters:
pUriStr -
Returns:
Value instance
Throws:
java.lang.IllegalArgumentException - if parsing failed

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

toQuotedString

public java.lang.String toQuotedString()
Description copied from interface: QuotedValue
Prints the String representation in a quoted form.

Specified by:
toQuotedString in interface QuotedValue
Returns:
String
See Also:
QuotedValue.toQuotedString()

getTypeInfo

public java.lang.String getTypeInfo()
Description copied from class: Value
getTypeInfo

Specified by:
getTypeInfo in class Value
Returns:
the type description string of the Value.
See Also:
Value.getTypeInfo()


Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.