return; }   StringBuffer escapedUrl = null; for ( int i = 0, max = url.length( ), delta = 0; i < max; i++ ) { char c = url.charAt( i ); String replacement = null; if ( c == '\\' ) { replacement = "%5c"; } else if ( c == '#' ) { replacement = "%23"; } else if ( c == '%' ) { replacement = "%25"; } else if ( c == '\'' ) { replacement = "%27"; } else if ( c >= 0x80 ) { replacement = '%' + Integer.toHexString( c ); }  if ( replacement != null ) { if ( escapedUrl == null ) { escapedUrl = new StringBuffer( url ); } escapedUrl.replace( i + delta, i + delta + 1, replacement ); delta += ( replacement.length( ) - 1 ); } }  if ( escapedUrl != null ) { url = escapedUrl.toString( ); }  if ( url.length( ) > 0 ) {
	private static void addURLValue( StringBuffer content, String url )	{		if ( url != null && url.length( ) > 0 )		{			// TODO: escape URL string			content.append( " url('" ); //$NON-NLS-1$			content.append( url );			content.append( "')" ); //$NON-NLS-1$		}	}