itemValue = ((ValueContainer) item).toValue(); } else { itemValue = item;
public String stringValue () { if ( this.decodeStrings ) { return decodeForSure(buffer, startIndex, endIndex); } else { return toString (); } }
@Override public final CharSequence subSequence ( int start, int end ) { return new CharSequenceValue (false, type, start, end, buffer, decodeStrings, checkDate); }
@Override public final Object toValue () { return value != null ? value : (value = doToValue ()) ; }
@Override public String stringValueEncoded () { return toString (); }
public static Object toObject(Object o) { if ( o instanceof ValueContainer ) { o = ( ( ValueContainer ) o ).toValue(); } return o; }
public String stringValue () { if ( this.decodeStrings ) { return decodeForSure(buffer, startIndex, endIndex); } else { return toString (); } }
@Override public final Object toValue () { return value != null ? value : (value = doToValue ()) ; }
public static Object toObject(Object o) { if ( o instanceof ValueContainer ) { o = ( ( ValueContainer ) o ).toValue(); } return o; }
/** If in lazy chop mode, and the object is a Lazy Value Map or a ValueList * then we force a chop operation for each of its items. */ private void lazyChopIfNeeded( Object object ) { if ( lazyChop ) { if ( object instanceof LazyValueMap ) { LazyValueMap m = ( LazyValueMap ) object; m.chopMap(); } else if ( object instanceof ValueList ) { ValueList list = ( ValueList ) object; list.chopList(); } } }
@Override public String stringValue(CharBuf charBuf) { if ( this.decodeStrings ) { return decodeForSure(charBuf, buffer, startIndex, endIndex); } else { return toString (); } }
/** If in lazy chop mode, and the object is a Lazy Value Map or a ValueList * then we force a chop operation for each of its items. */ private void lazyChopIfNeeded( Object object ) { if ( lazyChop ) { if ( object instanceof LazyValueMap ) { LazyValueMap m = ( LazyValueMap ) object; m.chopMap(); } else if ( object instanceof ValueList ) { ValueList list = ( ValueList ) object; list.chopList(); } } }
@Override public String stringValue(CharBuf charBuf) { if ( this.decodeStrings ) { return decodeForSure(charBuf, buffer, startIndex, endIndex); } else { return toString (); } }