/** * Returns a string representation of the ResourceKey based on the pieces that are passed as parameters * * @param schema the string representation of the schema * @param identifier the string representation of the identifier * @param factoryParameters the set of factory parameters (<code>null</code> allowed) * @return the string version with the pieces delimited and concatenated */ public static String createStringResourceKey( final String schema, final String identifier, final Map factoryParameters ) { final String factoryParamString = convertFactoryParametersToString( factoryParameters ); final CSVQuoter quoter = new CSVQuoter( ';' ); return quoter.doQuoting( SERIALIZATION_PREFIX + schema ) + DELIMITER + quoter.doQuoting( identifier ) + ( factoryParamString == null ? "" : DELIMITER + quoter.doQuoting( factoryParamString ) ); }
if ( key instanceof FactoryParameterKey ) { final FactoryParameterKey fkey = (FactoryParameterKey) key; entrySb.append( innerQuoter.doQuoting( "f:" + fkey.getName() ) ); } else if ( key instanceof LoaderParameterKey ) { final LoaderParameterKey fkey = (LoaderParameterKey) key; entrySb.append( innerQuoter.doQuoting( "l:" + fkey.getName() ) ); } else { throw new IllegalArgumentException( String.valueOf( key ) ); if ( value != null ) { entrySb.append( innerQuoter.doQuoting( String.valueOf( value ) ) ); sb.append( quoter.doQuoting( entrySb.toString() ) );
buffer.append( "\"\"" ); } else { buffer.append( quoter.doQuoting( original ) );
protected void inspectElement( final ReportElement element ) { String uuid = idMapping.get( element.getObjectID() ); if ( uuid == null ) { return; } if ( element.getComputedStyle().getBooleanStyleProperty( ElementStyleKeys.VISIBLE ) == false ) { return; } if ( textExtractor == null ) { textExtractor = new FastTextExtractor(); } try { textExtractor.compute( element, getRuntime() ); String text = textExtractor.getText(); if ( StringUtils.isEmpty( text ) == false ) { values.put( uuid, csvQuoter.doQuoting( text ) ); } } catch ( ContentProcessingException rse ) { throw new InvalidReportStateException( rse ); } } }
final Object o = sequence.next(); if ( o != null ) { b.append( quoter.doQuoting( String.valueOf( o ) ) );
quoter.doQuoting( formattedtext, writer ); if ( col < lastColumn ) { writer.print( quoter.getSeparator() );
if (o != null) b.append(quoter.doQuoting(String.valueOf(o)));